Skip to content

Commit

Permalink
Use version independent rust cxx header.
Browse files Browse the repository at this point in the history
  • Loading branch information
mkarolin committed May 3, 2024
1 parent a93ad70 commit 2ebc013
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion components/skus/browser/DEPS
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
include_rules = [
"+services/network/public",
"+services/preferences/public",
"+third_party/rust/chromium_crates_io/vendor/cxx-1.0.120/include",
"+third_party/rust/cxx",
]
2 changes: 1 addition & 1 deletion components/skus/browser/rs/cxx/src/shim.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

#include "base/functional/bind.h"
#include "base/functional/callback_helpers.h"
#include "third_party/rust/chromium_crates_io/vendor/cxx-1.0.120/include/cxx.h"
#include "third_party/rust/cxx/v1/cxx.h"

class PrefService;

Expand Down
2 changes: 1 addition & 1 deletion components/skus/browser/skus_url_loader_impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#include "brave/components/api_request_helper/api_request_helper.h"
#include "brave/components/skus/browser/rs/cxx/src/lib.rs.h"
#include "services/network/public/cpp/shared_url_loader_factory.h"
#include "third_party/rust/chromium_crates_io/vendor/cxx-1.0.120/include/cxx.h"
#include "third_party/rust/cxx/v1/cxx.h"

namespace skus {

Expand Down
2 changes: 1 addition & 1 deletion components/skus/browser/skus_url_loader_impl_unittest.cc
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#include "services/network/public/cpp/weak_wrapper_shared_url_loader_factory.h"
#include "services/network/test/test_url_loader_factory.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/rust/chromium_crates_io/vendor/cxx-1.0.120/include/cxx.h"
#include "third_party/rust/cxx/v1/cxx.h"

class SkusUrlLoaderImplUnitTest : public testing::Test {
public:
Expand Down

0 comments on commit 2ebc013

Please sign in to comment.