| 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 "chrome/common/extensions/manifest.h" | 11 #include "extensions/common/manifest.h" |
| 12 | 12 |
| 13 class AsyncExtensionFunction; | 13 class AsyncExtensionFunction; |
| 14 class Browser; | 14 class Browser; |
| 15 class UIThreadExtensionFunction; | 15 class UIThreadExtensionFunction; |
| 16 | 16 |
| 17 namespace base { | 17 namespace base { |
| 18 class Value; | 18 class Value; |
| 19 class DictionaryValue; | 19 class DictionaryValue; |
| 20 class ListValue; | 20 class ListValue; |
| 21 } | 21 } |
| (...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 121 // we're going to need to frob for all the different extension functions. But | 121 // we're going to need to frob for all the different extension functions. But |
| 122 // we can refactor when we see what is needed. | 122 // we can refactor when we see what is needed. |
| 123 bool RunFunction(UIThreadExtensionFunction* function, | 123 bool RunFunction(UIThreadExtensionFunction* function, |
| 124 const std::string& args, | 124 const std::string& args, |
| 125 Browser* browser, | 125 Browser* browser, |
| 126 RunFunctionFlags flags); | 126 RunFunctionFlags flags); |
| 127 | 127 |
| 128 } // namespace extension_function_test_utils | 128 } // namespace extension_function_test_utils |
| 129 | 129 |
| 130 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_FUNCTION_TEST_UTILS_H_ | 130 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_FUNCTION_TEST_UTILS_H_ |
| OLD | NEW |