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

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

Issue 492813002: Use a qualified path for grit/content_resources.h. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « extensions/DEPS ('k') | no next file » | 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/dispatcher.h" 5 #include "extensions/renderer/dispatcher.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/debug/alias.h" 10 #include "base/debug/alias.h"
11 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
12 #include "base/metrics/user_metrics_action.h" 12 #include "base/metrics/user_metrics_action.h"
13 #include "base/strings/string_piece.h" 13 #include "base/strings/string_piece.h"
14 #include "base/strings/string_split.h" 14 #include "base/strings/string_split.h"
15 #include "base/strings/string_util.h" 15 #include "base/strings/string_util.h"
16 #include "base/values.h" 16 #include "base/values.h"
17 #include "content/grit/content_resources.h"
17 #include "content/public/common/content_switches.h" 18 #include "content/public/common/content_switches.h"
18 #include "content/public/common/url_constants.h" 19 #include "content/public/common/url_constants.h"
19 #include "content/public/renderer/render_thread.h" 20 #include "content/public/renderer/render_thread.h"
20 #include "content/public/renderer/render_view.h" 21 #include "content/public/renderer/render_view.h"
21 #include "content/public/renderer/v8_value_converter.h" 22 #include "content/public/renderer/v8_value_converter.h"
22 #include "extensions/common/api/messaging/message.h" 23 #include "extensions/common/api/messaging/message.h"
23 #include "extensions/common/constants.h" 24 #include "extensions/common/constants.h"
24 #include "extensions/common/extension.h" 25 #include "extensions/common/extension.h"
25 #include "extensions/common/extension_api.h" 26 #include "extensions/common/extension_api.h"
26 #include "extensions/common/extension_messages.h" 27 #include "extensions/common/extension_messages.h"
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 #include "extensions/renderer/script_context.h" 69 #include "extensions/renderer/script_context.h"
69 #include "extensions/renderer/script_context_set.h" 70 #include "extensions/renderer/script_context_set.h"
70 #include "extensions/renderer/script_injection.h" 71 #include "extensions/renderer/script_injection.h"
71 #include "extensions/renderer/script_injection_manager.h" 72 #include "extensions/renderer/script_injection_manager.h"
72 #include "extensions/renderer/send_request_natives.h" 73 #include "extensions/renderer/send_request_natives.h"
73 #include "extensions/renderer/set_icon_natives.h" 74 #include "extensions/renderer/set_icon_natives.h"
74 #include "extensions/renderer/test_features_native_handler.h" 75 #include "extensions/renderer/test_features_native_handler.h"
75 #include "extensions/renderer/user_gestures_native_handler.h" 76 #include "extensions/renderer/user_gestures_native_handler.h"
76 #include "extensions/renderer/utils_native_handler.h" 77 #include "extensions/renderer/utils_native_handler.h"
77 #include "extensions/renderer/v8_context_native_handler.h" 78 #include "extensions/renderer/v8_context_native_handler.h"
78 #include "grit/content_resources.h"
79 #include "grit/extensions_renderer_resources.h" 79 #include "grit/extensions_renderer_resources.h"
80 #include "mojo/public/js/bindings/constants.h" 80 #include "mojo/public/js/bindings/constants.h"
81 #include "third_party/WebKit/public/platform/WebString.h" 81 #include "third_party/WebKit/public/platform/WebString.h"
82 #include "third_party/WebKit/public/platform/WebURLRequest.h" 82 #include "third_party/WebKit/public/platform/WebURLRequest.h"
83 #include "third_party/WebKit/public/web/WebCustomElement.h" 83 #include "third_party/WebKit/public/web/WebCustomElement.h"
84 #include "third_party/WebKit/public/web/WebDataSource.h" 84 #include "third_party/WebKit/public/web/WebDataSource.h"
85 #include "third_party/WebKit/public/web/WebDocument.h" 85 #include "third_party/WebKit/public/web/WebDocument.h"
86 #include "third_party/WebKit/public/web/WebFrame.h" 86 #include "third_party/WebKit/public/web/WebFrame.h"
87 #include "third_party/WebKit/public/web/WebRuntimeFeatures.h" 87 #include "third_party/WebKit/public/web/WebRuntimeFeatures.h"
88 #include "third_party/WebKit/public/web/WebScopedUserGesture.h" 88 #include "third_party/WebKit/public/web/WebScopedUserGesture.h"
(...skipping 1206 matching lines...) Expand 10 before | Expand all | Expand 10 after
1295 return v8::Handle<v8::Object>(); 1295 return v8::Handle<v8::Object>();
1296 1296
1297 if (bind_name) 1297 if (bind_name)
1298 *bind_name = split.back(); 1298 *bind_name = split.back();
1299 1299
1300 return bind_object.IsEmpty() ? AsObjectOrEmpty(GetOrCreateChrome(context)) 1300 return bind_object.IsEmpty() ? AsObjectOrEmpty(GetOrCreateChrome(context))
1301 : bind_object; 1301 : bind_object;
1302 } 1302 }
1303 1303
1304 } // namespace extensions 1304 } // namespace extensions
OLDNEW
« no previous file with comments | « extensions/DEPS ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698