Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2048)

Side by Side Diff: chrome/browser/extensions/extension_function_test_utils.h

Issue 257333002: Drive extension functions from ExtensionFunction::Run. The (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix comment Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/chrome_extension_function.cc ('k') | chrome/browser/extensions/extension_function_test_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698