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

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

Issue 65123002: Move chrome/common/extensions/background_info.h to src/extensions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase2 background_info 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/messaging/message.h" 20 #include "chrome/common/extensions/api/messaging/message.h"
21 #include "chrome/common/extensions/background_info.h"
22 #include "chrome/common/extensions/extension.h" 21 #include "chrome/common/extensions/extension.h"
23 #include "chrome/common/extensions/extension_messages.h" 22 #include "chrome/common/extensions/extension_messages.h"
24 #include "chrome/common/extensions/features/feature_channel.h" 23 #include "chrome/common/extensions/features/feature_channel.h"
25 #include "chrome/common/extensions/manifest_handlers/externally_connectable.h" 24 #include "chrome/common/extensions/manifest_handlers/externally_connectable.h"
26 #include "chrome/common/extensions/manifest_handlers/sandboxed_page_info.h" 25 #include "chrome/common/extensions/manifest_handlers/sandboxed_page_info.h"
27 #include "chrome/common/extensions/message_bundle.h" 26 #include "chrome/common/extensions/message_bundle.h"
28 #include "chrome/common/extensions/permissions/permissions_data.h" 27 #include "chrome/common/extensions/permissions/permissions_data.h"
29 #include "chrome/common/url_constants.h" 28 #include "chrome/common/url_constants.h"
30 #include "chrome/renderer/chrome_render_process_observer.h" 29 #include "chrome/renderer/chrome_render_process_observer.h"
31 #include "chrome/renderer/extensions/api_activity_logger.h" 30 #include "chrome/renderer/extensions/api_activity_logger.h"
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 #include "content/public/renderer/render_thread.h" 72 #include "content/public/renderer/render_thread.h"
74 #include "content/public/renderer/render_view.h" 73 #include "content/public/renderer/render_view.h"
75 #include "content/public/renderer/v8_value_converter.h" 74 #include "content/public/renderer/v8_value_converter.h"
76 #include "extensions/common/constants.h" 75 #include "extensions/common/constants.h"
77 #include "extensions/common/extension_api.h" 76 #include "extensions/common/extension_api.h"
78 #include "extensions/common/extension_urls.h" 77 #include "extensions/common/extension_urls.h"
79 #include "extensions/common/features/feature.h" 78 #include "extensions/common/features/feature.h"
80 #include "extensions/common/features/feature_provider.h" 79 #include "extensions/common/features/feature_provider.h"
81 #include "extensions/common/manifest.h" 80 #include "extensions/common/manifest.h"
82 #include "extensions/common/manifest_constants.h" 81 #include "extensions/common/manifest_constants.h"
82 #include "extensions/common/manifest_handlers/background_info.h"
83 #include "extensions/common/permissions/permission_set.h" 83 #include "extensions/common/permissions/permission_set.h"
84 #include "extensions/common/view_type.h" 84 #include "extensions/common/view_type.h"
85 #include "grit/common_resources.h" 85 #include "grit/common_resources.h"
86 #include "grit/renderer_resources.h" 86 #include "grit/renderer_resources.h"
87 #include "third_party/WebKit/public/platform/WebString.h" 87 #include "third_party/WebKit/public/platform/WebString.h"
88 #include "third_party/WebKit/public/platform/WebURLRequest.h" 88 #include "third_party/WebKit/public/platform/WebURLRequest.h"
89 #include "third_party/WebKit/public/web/WebCustomElement.h" 89 #include "third_party/WebKit/public/web/WebCustomElement.h"
90 #include "third_party/WebKit/public/web/WebDataSource.h" 90 #include "third_party/WebKit/public/web/WebDataSource.h"
91 #include "third_party/WebKit/public/web/WebDocument.h" 91 #include "third_party/WebKit/public/web/WebDocument.h"
92 #include "third_party/WebKit/public/web/WebFrame.h" 92 #include "third_party/WebKit/public/web/WebFrame.h"
(...skipping 1539 matching lines...) Expand 10 before | Expand all | Expand 10 after
1632 RenderView* background_view = 1632 RenderView* background_view =
1633 ExtensionHelper::GetBackgroundPage(extension_id); 1633 ExtensionHelper::GetBackgroundPage(extension_id);
1634 if (background_view) { 1634 if (background_view) {
1635 background_view->Send(new ExtensionHostMsg_EventAck( 1635 background_view->Send(new ExtensionHostMsg_EventAck(
1636 background_view->GetRoutingID())); 1636 background_view->GetRoutingID()));
1637 } 1637 }
1638 } 1638 }
1639 } 1639 }
1640 1640
1641 } // namespace extensions 1641 } // namespace extensions
OLDNEW
« no previous file with comments | « chrome/common/extensions/manifest_url_handler.cc ('k') | chrome/renderer/extensions/event_bindings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698