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

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

Issue 50743005: Moved extension_api to src/extensions/common (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Oops Created 7 years, 1 month 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "chrome/renderer/extensions/dispatcher.h" 5 #include "chrome/renderer/extensions/dispatcher.h"
6 6
7 #include "base/callback.h" 7 #include "base/callback.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "base/debug/alias.h" 9 #include "base/debug/alias.h"
10 #include "base/json/json_reader.h" 10 #include "base/json/json_reader.h"
11 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
12 #include "base/sha1.h" 12 #include "base/sha1.h"
13 #include "base/strings/string_number_conversions.h" 13 #include "base/strings/string_number_conversions.h"
14 #include "base/strings/string_piece.h" 14 #include "base/strings/string_piece.h"
15 #include "base/strings/string_split.h" 15 #include "base/strings/string_split.h"
16 #include "base/strings/string_util.h" 16 #include "base/strings/string_util.h"
17 #include "chrome/common/chrome_switches.h" 17 #include "chrome/common/chrome_switches.h"
18 #include "chrome/common/chrome_version_info.h" 18 #include "chrome/common/chrome_version_info.h"
19 #include "chrome/common/crash_keys.h" 19 #include "chrome/common/crash_keys.h"
20 #include "chrome/common/extensions/api/extension_api.h"
21 #include "chrome/common/extensions/api/messaging/message.h" 20 #include "chrome/common/extensions/api/messaging/message.h"
22 #include "chrome/common/extensions/background_info.h" 21 #include "chrome/common/extensions/background_info.h"
23 #include "chrome/common/extensions/extension.h" 22 #include "chrome/common/extensions/extension.h"
24 #include "chrome/common/extensions/extension_messages.h" 23 #include "chrome/common/extensions/extension_messages.h"
25 #include "chrome/common/extensions/features/feature_channel.h" 24 #include "chrome/common/extensions/features/feature_channel.h"
26 #include "chrome/common/extensions/manifest_handlers/externally_connectable.h" 25 #include "chrome/common/extensions/manifest_handlers/externally_connectable.h"
27 #include "chrome/common/extensions/manifest_handlers/sandboxed_page_info.h" 26 #include "chrome/common/extensions/manifest_handlers/sandboxed_page_info.h"
28 #include "chrome/common/extensions/message_bundle.h" 27 #include "chrome/common/extensions/message_bundle.h"
29 #include "chrome/common/extensions/permissions/permissions_data.h" 28 #include "chrome/common/extensions/permissions/permissions_data.h"
30 #include "chrome/common/url_constants.h" 29 #include "chrome/common/url_constants.h"
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 #include "chrome/renderer/extensions/tab_finder.h" 68 #include "chrome/renderer/extensions/tab_finder.h"
70 #include "chrome/renderer/extensions/tabs_custom_bindings.h" 69 #include "chrome/renderer/extensions/tabs_custom_bindings.h"
71 #include "chrome/renderer/extensions/user_script_slave.h" 70 #include "chrome/renderer/extensions/user_script_slave.h"
72 #include "chrome/renderer/extensions/webrtc_native_handler.h" 71 #include "chrome/renderer/extensions/webrtc_native_handler.h"
73 #include "chrome/renderer/extensions/webstore_bindings.h" 72 #include "chrome/renderer/extensions/webstore_bindings.h"
74 #include "chrome/renderer/resource_bundle_source_map.h" 73 #include "chrome/renderer/resource_bundle_source_map.h"
75 #include "content/public/renderer/render_thread.h" 74 #include "content/public/renderer/render_thread.h"
76 #include "content/public/renderer/render_view.h" 75 #include "content/public/renderer/render_view.h"
77 #include "content/public/renderer/v8_value_converter.h" 76 #include "content/public/renderer/v8_value_converter.h"
78 #include "extensions/common/constants.h" 77 #include "extensions/common/constants.h"
78 #include "extensions/common/extension_api.h"
79 #include "extensions/common/extension_urls.h" 79 #include "extensions/common/extension_urls.h"
80 #include "extensions/common/features/feature.h" 80 #include "extensions/common/features/feature.h"
81 #include "extensions/common/features/feature_provider.h" 81 #include "extensions/common/features/feature_provider.h"
82 #include "extensions/common/manifest.h" 82 #include "extensions/common/manifest.h"
83 #include "extensions/common/manifest_constants.h" 83 #include "extensions/common/manifest_constants.h"
84 #include "extensions/common/permissions/permission_set.h" 84 #include "extensions/common/permissions/permission_set.h"
85 #include "extensions/common/view_type.h" 85 #include "extensions/common/view_type.h"
86 #include "grit/common_resources.h" 86 #include "grit/common_resources.h"
87 #include "grit/renderer_resources.h" 87 #include "grit/renderer_resources.h"
88 #include "third_party/WebKit/public/platform/WebString.h" 88 #include "third_party/WebKit/public/platform/WebString.h"
(...skipping 1534 matching lines...) Expand 10 before | Expand all | Expand 10 after
1623 RenderView* background_view = 1623 RenderView* background_view =
1624 ExtensionHelper::GetBackgroundPage(extension_id); 1624 ExtensionHelper::GetBackgroundPage(extension_id);
1625 if (background_view) { 1625 if (background_view) {
1626 background_view->Send(new ExtensionHostMsg_EventAck( 1626 background_view->Send(new ExtensionHostMsg_EventAck(
1627 background_view->GetRoutingID())); 1627 background_view->GetRoutingID()));
1628 } 1628 }
1629 } 1629 }
1630 } 1630 }
1631 1631
1632 } // namespace extensions 1632 } // namespace extensions
OLDNEW
« no previous file with comments | « chrome/renderer/extensions/chrome_v8_extension.cc ('k') | chrome/renderer/extensions/render_view_observer_natives.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698