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

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

Issue 8382021: Move resource_codes to content/public/common. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 2 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) 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" 14 #include "content/browser/renderer_host/render_process_host.h"
15 #include "content/browser/renderer_host/render_view_host.h" 15 #include "content/browser/renderer_host/render_view_host.h"
16 #include "content/browser/user_metrics.h" 16 #include "content/browser/user_metrics.h"
17 #include "content/common/result_codes.h"
18 #include "content/public/browser/notification_source.h" 17 #include "content/public/browser/notification_source.h"
19 #include "content/public/browser/notification_types.h" 18 #include "content/public/browser/notification_types.h"
19 #include "content/public/common/result_codes.h"
20 20
21 // static 21 // static
22 void ExtensionFunctionDeleteTraits::Destruct(const ExtensionFunction* x) { 22 void ExtensionFunctionDeleteTraits::Destruct(const ExtensionFunction* x) {
23 x->Destruct(); 23 x->Destruct();
24 } 24 }
25 25
26 UIThreadExtensionFunction::RenderViewHostTracker::RenderViewHostTracker( 26 UIThreadExtensionFunction::RenderViewHostTracker::RenderViewHostTracker(
27 UIThreadExtensionFunction* function) 27 UIThreadExtensionFunction* function)
28 : function_(function) { 28 : function_(function) {
29 registrar_.Add(this, 29 registrar_.Add(this,
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 198
199 SyncIOThreadExtensionFunction::SyncIOThreadExtensionFunction() { 199 SyncIOThreadExtensionFunction::SyncIOThreadExtensionFunction() {
200 } 200 }
201 201
202 SyncIOThreadExtensionFunction::~SyncIOThreadExtensionFunction() { 202 SyncIOThreadExtensionFunction::~SyncIOThreadExtensionFunction() {
203 } 203 }
204 204
205 void SyncIOThreadExtensionFunction::Run() { 205 void SyncIOThreadExtensionFunction::Run() {
206 SendResponse(RunImpl()); 206 SendResponse(RunImpl());
207 } 207 }
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_crash_recovery_browsertest.cc ('k') | chrome/browser/first_run/first_run_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698