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 #pragma once | |
8 | 7 |
9 #include <string> | 8 #include <string> |
10 | 9 |
11 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
12 #include "chrome/common/extensions/extension.h" | 11 #include "chrome/common/extensions/extension.h" |
13 | 12 |
14 class AsyncExtensionFunction; | 13 class AsyncExtensionFunction; |
15 class Browser; | 14 class Browser; |
16 class UIThreadExtensionFunction; | 15 class UIThreadExtensionFunction; |
17 | 16 |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 // we're going to need to frob for all the different extension functions. But | 91 // we're going to need to frob for all the different extension functions. But |
93 // we can refactor when we see what is needed. | 92 // we can refactor when we see what is needed. |
94 bool RunFunction(UIThreadExtensionFunction* function, | 93 bool RunFunction(UIThreadExtensionFunction* function, |
95 const std::string& args, | 94 const std::string& args, |
96 Browser* browser, | 95 Browser* browser, |
97 RunFunctionFlags flags); | 96 RunFunctionFlags flags); |
98 | 97 |
99 } // namespace extension_function_test_utils | 98 } // namespace extension_function_test_utils |
100 | 99 |
101 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_FUNCTION_TEST_UTILS_H_ | 100 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_FUNCTION_TEST_UTILS_H_ |
OLD | NEW |