| OLD | NEW |
| 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 Loading... |
| 47 #include "chrome/browser/extensions/extension_sidebar_api.h" | 47 #include "chrome/browser/extensions/extension_sidebar_api.h" |
| 48 #include "chrome/browser/extensions/extension_tabs_module.h" | 48 #include "chrome/browser/extensions/extension_tabs_module.h" |
| 49 #include "chrome/browser/extensions/extension_test_api.h" | 49 #include "chrome/browser/extensions/extension_test_api.h" |
| 50 #include "chrome/browser/extensions/extension_tts_api.h" | 50 #include "chrome/browser/extensions/extension_tts_api.h" |
| 51 #include "chrome/browser/extensions/extension_webstore_private_api.h" | 51 #include "chrome/browser/extensions/extension_webstore_private_api.h" |
| 52 #include "chrome/browser/extensions/extensions_quota_service.h" | 52 #include "chrome/browser/extensions/extensions_quota_service.h" |
| 53 #include "chrome/browser/extensions/extensions_service.h" | 53 #include "chrome/browser/extensions/extensions_service.h" |
| 54 #include "chrome/browser/profiles/profile.h" | 54 #include "chrome/browser/profiles/profile.h" |
| 55 #include "chrome/browser/renderer_host/render_process_host.h" | 55 #include "chrome/browser/renderer_host/render_process_host.h" |
| 56 #include "chrome/browser/renderer_host/render_view_host.h" | 56 #include "chrome/browser/renderer_host/render_view_host.h" |
| 57 #include "chrome/common/notification_service.h" |
| 57 #include "chrome/common/render_messages.h" | 58 #include "chrome/common/render_messages.h" |
| 58 #include "chrome/common/render_messages_params.h" | 59 #include "chrome/common/render_messages_params.h" |
| 59 #include "chrome/common/result_codes.h" | 60 #include "chrome/common/result_codes.h" |
| 60 #include "chrome/common/url_constants.h" | 61 #include "chrome/common/url_constants.h" |
| 61 #include "third_party/skia/include/core/SkBitmap.h" | 62 #include "third_party/skia/include/core/SkBitmap.h" |
| 62 | 63 |
| 63 | 64 |
| 64 // FactoryRegistry ------------------------------------------------------------- | 65 // FactoryRegistry ------------------------------------------------------------- |
| 65 | 66 |
| 66 namespace { | 67 namespace { |
| (...skipping 427 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 494 } else { | 495 } else { |
| 495 NOTREACHED(); | 496 NOTREACHED(); |
| 496 base::KillProcess(render_view_host_->process()->GetHandle(), | 497 base::KillProcess(render_view_host_->process()->GetHandle(), |
| 497 ResultCodes::KILLED_BAD_MESSAGE, false); | 498 ResultCodes::KILLED_BAD_MESSAGE, false); |
| 498 } | 499 } |
| 499 } | 500 } |
| 500 | 501 |
| 501 Profile* ExtensionFunctionDispatcher::profile() { | 502 Profile* ExtensionFunctionDispatcher::profile() { |
| 502 return profile_; | 503 return profile_; |
| 503 } | 504 } |
| OLD | NEW |