| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CHROME_BROWSER_EXTENSIONS_EXTENSION_FUNCTION_TEST_UTILS_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_FUNCTION_TEST_UTILS_H_ |
| 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_FUNCTION_TEST_UTILS_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_FUNCTION_TEST_UTILS_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
| 11 #include "extensions/common/manifest.h" | 11 #include "extensions/common/manifest.h" |
| 12 | 12 |
| 13 class AsyncExtensionFunction; | |
| 14 class Browser; | 13 class Browser; |
| 15 class UIThreadExtensionFunction; | 14 class UIThreadExtensionFunction; |
| 16 | 15 |
| 17 namespace base { | 16 namespace base { |
| 18 class Value; | 17 class Value; |
| 19 class DictionaryValue; | 18 class DictionaryValue; |
| 20 class ListValue; | 19 class ListValue; |
| 21 } | 20 } |
| 22 | 21 |
| 23 namespace extensions { | 22 namespace extensions { |
| (...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 117 // we're going to need to frob for all the different extension functions. But | 116 // we're going to need to frob for all the different extension functions. But |
| 118 // we can refactor when we see what is needed. | 117 // we can refactor when we see what is needed. |
| 119 bool RunFunction(UIThreadExtensionFunction* function, | 118 bool RunFunction(UIThreadExtensionFunction* function, |
| 120 const std::string& args, | 119 const std::string& args, |
| 121 Browser* browser, | 120 Browser* browser, |
| 122 RunFunctionFlags flags); | 121 RunFunctionFlags flags); |
| 123 | 122 |
| 124 } // namespace extension_function_test_utils | 123 } // namespace extension_function_test_utils |
| 125 | 124 |
| 126 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_FUNCTION_TEST_UTILS_H_ | 125 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_FUNCTION_TEST_UTILS_H_ |
| OLD | NEW |