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

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

Issue 9600036: Move Render(View|Widget)Host and associated classes to content namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Respond to review comments. Created 8 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
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/json/json_writer.h" 7 #include "base/json/json_writer.h"
8 #include "base/logging.h" 8 #include "base/logging.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/profiles/profile.h" 11 #include "chrome/browser/profiles/profile.h"
12 #include "chrome/browser/renderer_host/chrome_render_message_filter.h" 12 #include "chrome/browser/renderer_host/chrome_render_message_filter.h"
13 #include "chrome/common/extensions/extension_messages.h" 13 #include "chrome/common/extensions/extension_messages.h"
14 #include "content/public/browser/notification_source.h" 14 #include "content/public/browser/notification_source.h"
15 #include "content/public/browser/notification_types.h" 15 #include "content/public/browser/notification_types.h"
16 #include "content/public/browser/render_process_host.h" 16 #include "content/public/browser/render_process_host.h"
17 #include "content/public/browser/render_view_host.h" 17 #include "content/public/browser/render_view_host.h"
18 #include "content/public/browser/user_metrics.h" 18 #include "content/public/browser/user_metrics.h"
19 #include "content/public/common/result_codes.h" 19 #include "content/public/common/result_codes.h"
20 20
21 using content::BrowserThread; 21 using content::BrowserThread;
22 using content::RenderViewHost;
22 using content::UserMetricsAction; 23 using content::UserMetricsAction;
23 24
24 // static 25 // static
25 void ExtensionFunctionDeleteTraits::Destruct(const ExtensionFunction* x) { 26 void ExtensionFunctionDeleteTraits::Destruct(const ExtensionFunction* x) {
26 x->Destruct(); 27 x->Destruct();
27 } 28 }
28 29
29 UIThreadExtensionFunction::RenderViewHostTracker::RenderViewHostTracker( 30 UIThreadExtensionFunction::RenderViewHostTracker::RenderViewHostTracker(
30 UIThreadExtensionFunction* function, 31 UIThreadExtensionFunction* function,
31 RenderViewHost* render_view_host) 32 RenderViewHost* render_view_host)
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
236 237
237 SyncIOThreadExtensionFunction::SyncIOThreadExtensionFunction() { 238 SyncIOThreadExtensionFunction::SyncIOThreadExtensionFunction() {
238 } 239 }
239 240
240 SyncIOThreadExtensionFunction::~SyncIOThreadExtensionFunction() { 241 SyncIOThreadExtensionFunction::~SyncIOThreadExtensionFunction() {
241 } 242 }
242 243
243 void SyncIOThreadExtensionFunction::Run() { 244 void SyncIOThreadExtensionFunction::Run() {
244 SendResponse(RunImpl()); 245 SendResponse(RunImpl());
245 } 246 }
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_function.h ('k') | chrome/browser/extensions/extension_function_dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698