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

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

Issue 8515027: Define the public version of the browser side RenderProcessHost interface. This interface is not ... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/browser/renderer_host/render_process_host.h"
15 #include "content/browser/renderer_host/render_view_host.h" 14 #include "content/browser/renderer_host/render_view_host.h"
16 #include "content/browser/user_metrics.h" 15 #include "content/browser/user_metrics.h"
17 #include "content/public/browser/notification_source.h" 16 #include "content/public/browser/notification_source.h"
18 #include "content/public/browser/notification_types.h" 17 #include "content/public/browser/notification_types.h"
18 #include "content/public/browser/render_process_host.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 22
23 // static 23 // static
24 void ExtensionFunctionDeleteTraits::Destruct(const ExtensionFunction* x) { 24 void ExtensionFunctionDeleteTraits::Destruct(const ExtensionFunction* x) {
25 x->Destruct(); 25 x->Destruct();
26 } 26 }
27 27
28 UIThreadExtensionFunction::RenderViewHostTracker::RenderViewHostTracker( 28 UIThreadExtensionFunction::RenderViewHostTracker::RenderViewHostTracker(
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 205
206 SyncIOThreadExtensionFunction::SyncIOThreadExtensionFunction() { 206 SyncIOThreadExtensionFunction::SyncIOThreadExtensionFunction() {
207 } 207 }
208 208
209 SyncIOThreadExtensionFunction::~SyncIOThreadExtensionFunction() { 209 SyncIOThreadExtensionFunction::~SyncIOThreadExtensionFunction() {
210 } 210 }
211 211
212 void SyncIOThreadExtensionFunction::Run() { 212 void SyncIOThreadExtensionFunction::Run() {
213 SendResponse(RunImpl()); 213 SendResponse(RunImpl());
214 } 214 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698