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

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

Issue 3119035: FBTF: Move individual XXXMsg_Params structs to a new file. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Fix comment Created 10 years, 4 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
« no previous file with comments | « chrome/browser/dom_ui/dom_ui.cc ('k') | chrome/browser/extensions/extension_host.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 (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_dispatcher.h" 5 #include "chrome/browser/extensions/extension_function_dispatcher.h"
6 6
7 #include <map> 7 #include <map>
8 8
9 #include "base/process_util.h" 9 #include "base/process_util.h"
10 #include "base/singleton.h" 10 #include "base/singleton.h"
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 #include "chrome/browser/extensions/extension_test_api.h" 47 #include "chrome/browser/extensions/extension_test_api.h"
48 #if defined(OS_CHROMEOS) 48 #if defined(OS_CHROMEOS)
49 #include "chrome/browser/extensions/extension_tts_api.h" 49 #include "chrome/browser/extensions/extension_tts_api.h"
50 #endif 50 #endif
51 #include "chrome/browser/extensions/extensions_quota_service.h" 51 #include "chrome/browser/extensions/extensions_quota_service.h"
52 #include "chrome/browser/extensions/extensions_service.h" 52 #include "chrome/browser/extensions/extensions_service.h"
53 #include "chrome/browser/profile.h" 53 #include "chrome/browser/profile.h"
54 #include "chrome/browser/renderer_host/render_process_host.h" 54 #include "chrome/browser/renderer_host/render_process_host.h"
55 #include "chrome/browser/renderer_host/render_view_host.h" 55 #include "chrome/browser/renderer_host/render_view_host.h"
56 #include "chrome/common/render_messages.h" 56 #include "chrome/common/render_messages.h"
57 #include "chrome/common/render_messages_params.h"
57 #include "chrome/common/result_codes.h" 58 #include "chrome/common/result_codes.h"
58 #include "chrome/common/url_constants.h" 59 #include "chrome/common/url_constants.h"
60 #include "third_party/skia/include/core/SkBitmap.h"
59 61
60 62
61 // FactoryRegistry ------------------------------------------------------------- 63 // FactoryRegistry -------------------------------------------------------------
62 64
63 namespace { 65 namespace {
64 66
65 // Template for defining ExtensionFunctionFactory. 67 // Template for defining ExtensionFunctionFactory.
66 template<class T> 68 template<class T>
67 ExtensionFunction* NewExtensionFunction() { 69 ExtensionFunction* NewExtensionFunction() {
68 return new T(); 70 return new T();
(...skipping 399 matching lines...) Expand 10 before | Expand all | Expand 10 after
468 } else { 470 } else {
469 NOTREACHED(); 471 NOTREACHED();
470 base::KillProcess(render_view_host_->process()->GetHandle(), 472 base::KillProcess(render_view_host_->process()->GetHandle(),
471 ResultCodes::KILLED_BAD_MESSAGE, false); 473 ResultCodes::KILLED_BAD_MESSAGE, false);
472 } 474 }
473 } 475 }
474 476
475 Profile* ExtensionFunctionDispatcher::profile() { 477 Profile* ExtensionFunctionDispatcher::profile() {
476 return profile_; 478 return profile_;
477 } 479 }
OLDNEW
« no previous file with comments | « chrome/browser/dom_ui/dom_ui.cc ('k') | chrome/browser/extensions/extension_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698