| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 #ifndef EXTENSIONS_BROWSER_EXTENSION_FUNCTION_H_ | 5 #ifndef EXTENSIONS_BROWSER_EXTENSION_FUNCTION_H_ |
| 6 #define EXTENSIONS_BROWSER_EXTENSION_FUNCTION_H_ | 6 #define EXTENSIONS_BROWSER_EXTENSION_FUNCTION_H_ |
| 7 | 7 |
| 8 #include <list> | 8 #include <list> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| 11 #include "base/callback.h" | 11 #include "base/callback.h" |
| 12 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
| 13 #include "base/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
| 14 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
| 15 #include "base/memory/weak_ptr.h" | 15 #include "base/memory/weak_ptr.h" |
| 16 #include "base/process/process.h" | 16 #include "base/process/process.h" |
| 17 #include "base/sequenced_task_runner_helpers.h" | 17 #include "base/sequenced_task_runner_helpers.h" |
| 18 #include "chrome/browser/extensions/extension_function_histogram_value.h" | 18 #include "chrome/browser/extensions/extension_function_histogram_value.h" |
| 19 #include "chrome/common/extensions/extension.h" | |
| 20 #include "content/public/browser/browser_thread.h" | 19 #include "content/public/browser/browser_thread.h" |
| 21 #include "content/public/common/console_message_level.h" | 20 #include "content/public/common/console_message_level.h" |
| 22 #include "extensions/browser/info_map.h" | 21 #include "extensions/browser/info_map.h" |
| 22 #include "extensions/common/extension.h" |
| 23 #include "ipc/ipc_message.h" | 23 #include "ipc/ipc_message.h" |
| 24 | 24 |
| 25 class ChromeRenderMessageFilter; | 25 class ChromeRenderMessageFilter; |
| 26 class ExtensionFunction; | 26 class ExtensionFunction; |
| 27 class ExtensionFunctionDispatcher; | 27 class ExtensionFunctionDispatcher; |
| 28 class UIThreadExtensionFunction; | 28 class UIThreadExtensionFunction; |
| 29 class IOThreadExtensionFunction; | 29 class IOThreadExtensionFunction; |
| 30 | 30 |
| 31 namespace base { | 31 namespace base { |
| 32 class ListValue; | 32 class ListValue; |
| (...skipping 393 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 426 public: | 426 public: |
| 427 SyncIOThreadExtensionFunction(); | 427 SyncIOThreadExtensionFunction(); |
| 428 | 428 |
| 429 virtual void Run() OVERRIDE; | 429 virtual void Run() OVERRIDE; |
| 430 | 430 |
| 431 protected: | 431 protected: |
| 432 virtual ~SyncIOThreadExtensionFunction(); | 432 virtual ~SyncIOThreadExtensionFunction(); |
| 433 }; | 433 }; |
| 434 | 434 |
| 435 #endif // EXTENSIONS_BROWSER_EXTENSION_FUNCTION_H_ | 435 #endif // EXTENSIONS_BROWSER_EXTENSION_FUNCTION_H_ |
| OLD | NEW |