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

Side by Side Diff: content/app/mojo/mojo_init.cc

Issue 846443006: Include Mojo SDK/EDK via fully-qualified paths in Chromium code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix include to satisfy checkdeps Created 5 years, 11 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/app/mojo/mojo_init.h" 5 #include "content/app/mojo/mojo_init.h"
6 6
7 #include "base/memory/scoped_ptr.h" 7 #include "base/memory/scoped_ptr.h"
8 #include "mojo/edk/embedder/configuration.h" 8 #include "third_party/mojo/src/mojo/edk/embedder/configuration.h"
9 #include "mojo/edk/embedder/embedder.h" 9 #include "third_party/mojo/src/mojo/edk/embedder/embedder.h"
10 #include "mojo/edk/embedder/simple_platform_support.h" 10 #include "third_party/mojo/src/mojo/edk/embedder/simple_platform_support.h"
11 11
12 namespace content { 12 namespace content {
13 13
14 void InitializeMojo() { 14 void InitializeMojo() {
15 // Things like content_shell and DevTools ocassionally send big 15 // Things like content_shell and DevTools ocassionally send big
16 // message which includes whole rendered screen or all loaded 16 // message which includes whole rendered screen or all loaded
17 // scripts. The buffer size has to be big enough to allow such use 17 // scripts. The buffer size has to be big enough to allow such use
18 // cases. 18 // cases.
19 mojo::embedder::GetConfiguration()->max_message_num_bytes = 64*1024*1024; 19 mojo::embedder::GetConfiguration()->max_message_num_bytes = 64*1024*1024;
20 mojo::embedder::Init(scoped_ptr<mojo::embedder::PlatformSupport>( 20 mojo::embedder::Init(scoped_ptr<mojo::embedder::PlatformSupport>(
21 new mojo::embedder::SimplePlatformSupport())); 21 new mojo::embedder::SimplePlatformSupport()));
22 } 22 }
23 23
24 } // namespace content 24 } // namespace content
OLDNEW
« no previous file with comments | « content/app/mojo/mojo_browsertest.cc ('k') | content/browser/battery_status/battery_monitor_integration_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698