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

Side by Side Diff: extensions/renderer/user_script_set.cc

Issue 1543053002: Switch to standard integer types in extensions/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@int-extensions-browser
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
« no previous file with comments | « extensions/renderer/user_script_set.h ('k') | extensions/renderer/user_script_set_manager.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "extensions/renderer/user_script_set.h" 5 #include "extensions/renderer/user_script_set.h"
6 6
7 #include <stddef.h>
8
7 #include <utility> 9 #include <utility>
8 10
9 #include "base/memory/ref_counted.h" 11 #include "base/memory/ref_counted.h"
10 #include "content/public/common/url_constants.h" 12 #include "content/public/common/url_constants.h"
11 #include "content/public/renderer/render_frame.h" 13 #include "content/public/renderer/render_frame.h"
12 #include "content/public/renderer/render_thread.h" 14 #include "content/public/renderer/render_thread.h"
13 #include "extensions/common/extension.h" 15 #include "extensions/common/extension.h"
14 #include "extensions/common/extensions_client.h" 16 #include "extensions/common/extensions_client.h"
15 #include "extensions/common/permissions/permissions_data.h" 17 #include "extensions/common/permissions/permissions_data.h"
16 #include "extensions/renderer/extension_injection_host.h" 18 #include "extensions/renderer/extension_injection_host.h"
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 !script->js_scripts().empty() && script->run_location() == run_location; 226 !script->js_scripts().empty() && script->run_location() == run_location;
225 if (inject_css || inject_js) { 227 if (inject_css || inject_js) {
226 injection.reset(new ScriptInjection(std::move(injector), render_frame, 228 injection.reset(new ScriptInjection(std::move(injector), render_frame,
227 std::move(injection_host), 229 std::move(injection_host),
228 run_location)); 230 run_location));
229 } 231 }
230 return injection; 232 return injection;
231 } 233 }
232 234
233 } // namespace extensions 235 } // namespace extensions
OLDNEW
« no previous file with comments | « extensions/renderer/user_script_set.h ('k') | extensions/renderer/user_script_set_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698