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

Side by Side Diff: extensions/browser/extension_function.cc

Issue 194333002: Move extension_messages.h to extensions/common. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge again Created 6 years, 9 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/browser/event_router.cc ('k') | extensions/browser/extension_message_filter.cc » ('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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/browser/extension_function.h" 5 #include "extensions/browser/extension_function.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/metrics/sparse_histogram.h" 8 #include "base/metrics/sparse_histogram.h"
9 #include "chrome/browser/extensions/extension_function_dispatcher.h" 9 #include "chrome/browser/extensions/extension_function_dispatcher.h"
10 #include "chrome/browser/extensions/extension_service.h" 10 #include "chrome/browser/extensions/extension_service.h"
11 #include "chrome/browser/renderer_host/chrome_render_message_filter.h" 11 #include "chrome/browser/renderer_host/chrome_render_message_filter.h"
12 #include "chrome/common/extensions/extension_messages.h"
13 #include "content/public/browser/notification_source.h" 12 #include "content/public/browser/notification_source.h"
14 #include "content/public/browser/notification_types.h" 13 #include "content/public/browser/notification_types.h"
15 #include "content/public/browser/render_frame_host.h" 14 #include "content/public/browser/render_frame_host.h"
16 #include "content/public/browser/render_view_host.h" 15 #include "content/public/browser/render_view_host.h"
17 #include "content/public/browser/web_contents.h" 16 #include "content/public/browser/web_contents.h"
18 #include "content/public/browser/web_contents_observer.h" 17 #include "content/public/browser/web_contents_observer.h"
19 #include "extensions/common/extension_api.h" 18 #include "extensions/common/extension_api.h"
19 #include "extensions/common/extension_messages.h"
20 20
21 using content::BrowserThread; 21 using content::BrowserThread;
22 using content::RenderViewHost; 22 using content::RenderViewHost;
23 using content::WebContents; 23 using content::WebContents;
24 using extensions::ExtensionAPI; 24 using extensions::ExtensionAPI;
25 using extensions::Feature; 25 using extensions::Feature;
26 26
27 // static 27 // static
28 void ExtensionFunctionDeleteTraits::Destruct(const ExtensionFunction* x) { 28 void ExtensionFunctionDeleteTraits::Destruct(const ExtensionFunction* x) {
29 x->Destruct(); 29 x->Destruct();
(...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after
262 262
263 SyncIOThreadExtensionFunction::SyncIOThreadExtensionFunction() { 263 SyncIOThreadExtensionFunction::SyncIOThreadExtensionFunction() {
264 } 264 }
265 265
266 SyncIOThreadExtensionFunction::~SyncIOThreadExtensionFunction() { 266 SyncIOThreadExtensionFunction::~SyncIOThreadExtensionFunction() {
267 } 267 }
268 268
269 void SyncIOThreadExtensionFunction::Run() { 269 void SyncIOThreadExtensionFunction::Run() {
270 SendResponse(RunImpl()); 270 SendResponse(RunImpl());
271 } 271 }
OLDNEW
« no previous file with comments | « extensions/browser/event_router.cc ('k') | extensions/browser/extension_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698