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

Side by Side Diff: chrome/browser/extensions/extension_function.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/browser/extensions/extension_function.h" 5 #include "chrome/browser/extensions/extension_function.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/metrics/histogram.h" 8 #include "base/metrics/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/api/extension_api.h"
13 #include "chrome/common/extensions/extension_messages.h" 12 #include "chrome/common/extensions/extension_messages.h"
14 #include "content/public/browser/notification_source.h" 13 #include "content/public/browser/notification_source.h"
15 #include "content/public/browser/notification_types.h" 14 #include "content/public/browser/notification_types.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"
18 #include "extensions/common/extension_api.h"
19 19
20 using content::BrowserThread; 20 using content::BrowserThread;
21 using content::RenderViewHost; 21 using content::RenderViewHost;
22 using content::WebContents; 22 using content::WebContents;
23 using extensions::ExtensionAPI; 23 using extensions::ExtensionAPI;
24 using extensions::Feature; 24 using extensions::Feature;
25 25
26 // static 26 // static
27 void ExtensionFunctionDeleteTraits::Destruct(const ExtensionFunction* x) { 27 void ExtensionFunctionDeleteTraits::Destruct(const ExtensionFunction* x) {
28 x->Destruct(); 28 x->Destruct();
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 234
235 SyncIOThreadExtensionFunction::SyncIOThreadExtensionFunction() { 235 SyncIOThreadExtensionFunction::SyncIOThreadExtensionFunction() {
236 } 236 }
237 237
238 SyncIOThreadExtensionFunction::~SyncIOThreadExtensionFunction() { 238 SyncIOThreadExtensionFunction::~SyncIOThreadExtensionFunction() {
239 } 239 }
240 240
241 void SyncIOThreadExtensionFunction::Run() { 241 void SyncIOThreadExtensionFunction::Run() {
242 SendResponse(RunImpl()); 242 SendResponse(RunImpl());
243 } 243 }
OLDNEW
« no previous file with comments | « chrome/browser/extensions/event_router.cc ('k') | chrome/browser/extensions/extension_function_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698