Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(77)

Unified Diff: ipc/mojo/ipc_mojo_perftest.cc

Issue 1676913002: [mojo] Delete third_party/mojo (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: let's try that again Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ipc/mojo/ipc_mojo_handle_attachment.cc ('k') | ipc/mojo/run_all_unittests.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ipc/mojo/ipc_mojo_perftest.cc
diff --git a/ipc/mojo/ipc_mojo_perftest.cc b/ipc/mojo/ipc_mojo_perftest.cc
index d782c77ee59a51f8711fa803f3b8db2b9c829196..577c1c4ddd35c6ea17b8414bd2b2a0c96b995b90 100644
--- a/ipc/mojo/ipc_mojo_perftest.cc
+++ b/ipc/mojo/ipc_mojo_perftest.cc
@@ -9,8 +9,8 @@
#include "build/build_config.h"
#include "ipc/ipc_perftest_support.h"
#include "ipc/mojo/ipc_channel_mojo.h"
-#include "third_party/mojo/src/mojo/edk/embedder/embedder.h"
-#include "third_party/mojo/src/mojo/edk/embedder/platform_channel_pair.h"
+#include "mojo/edk/embedder/embedder.h"
+#include "mojo/edk/embedder/platform_channel_pair.h"
namespace {
@@ -18,9 +18,7 @@ namespace {
// it provides main() which doesn't have Mojo initialization. We need
// some way to call Init() only once before using Mojo.
struct MojoInitialier {
- MojoInitialier() {
- mojo::embedder::Init();
- }
+ MojoInitialier() { mojo::edk::Init(); }
};
base::LazyInstance<MojoInitialier> g_mojo_initializer
@@ -75,10 +73,10 @@ TEST_F(MojoChannelPerfTest, DISABLED_MaxChannelCount) {
base::SetFdLimit(20000);
#endif
- std::vector<mojo::embedder::PlatformChannelPair*> channels;
+ std::vector<mojo::edk::PlatformChannelPair*> channels;
for (size_t i = 0; i < 10000; ++i) {
LOG(INFO) << "channels size: " << channels.size();
- channels.push_back(new mojo::embedder::PlatformChannelPair());
+ channels.push_back(new mojo::edk::PlatformChannelPair());
}
}
« no previous file with comments | « ipc/mojo/ipc_mojo_handle_attachment.cc ('k') | ipc/mojo/run_all_unittests.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698