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

Side by Side Diff: content/renderer/mojo_context_state.cc

Issue 1547073003: Switch to standard integer types in content/renderer/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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/renderer/mojo_context_state.h" 5 #include "content/renderer/mojo_context_state.h"
6 6
7 #include <stddef.h>
8
7 #include "base/bind.h" 9 #include "base/bind.h"
8 #include "base/stl_util.h" 10 #include "base/stl_util.h"
9 #include "content/public/renderer/render_frame.h" 11 #include "content/public/renderer/render_frame.h"
10 #include "content/public/renderer/resource_fetcher.h" 12 #include "content/public/renderer/resource_fetcher.h"
11 #include "content/renderer/mojo_main_runner.h" 13 #include "content/renderer/mojo_main_runner.h"
12 #include "gin/converter.h" 14 #include "gin/converter.h"
13 #include "gin/modules/module_registry.h" 15 #include "gin/modules/module_registry.h"
14 #include "gin/per_context_data.h" 16 #include "gin/per_context_data.h"
15 #include "gin/public/context_holder.h" 17 #include "gin/public/context_holder.h"
16 #include "gin/try_catch.h" 18 #include "gin/try_catch.h"
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 const std::vector<std::string>& dependencies) { 128 const std::vector<std::string>& dependencies) {
127 FetchModules(dependencies); 129 FetchModules(dependencies);
128 130
129 gin::ContextHolder* context_holder = runner_->GetContextHolder(); 131 gin::ContextHolder* context_holder = runner_->GetContextHolder();
130 gin::ModuleRegistry* registry = gin::ModuleRegistry::From( 132 gin::ModuleRegistry* registry = gin::ModuleRegistry::From(
131 context_holder->context()); 133 context_holder->context());
132 registry->AttemptToLoadMoreModules(context_holder->isolate()); 134 registry->AttemptToLoadMoreModules(context_holder->isolate());
133 } 135 }
134 136
135 } // namespace content 137 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/mojo/service_registry_js_wrapper.h ('k') | content/renderer/mouse_lock_dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698