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

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

Issue 174633: Add browser tests for extensions tab API. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 3 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
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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_TEST_API_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_TEST_API_H_
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_TEST_API_H_ 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_TEST_API_H_
7 7
8 #include "chrome/browser/extensions/extension_function.h" 8 #include "chrome/browser/extensions/extension_function.h"
9 9
10 // Function names. 10 // Function names.
11 namespace extension_test_api_functions { 11 namespace extension_test_api_functions {
12 extern const char kPassFunction[]; 12 extern const char kPassFunction[];
13 extern const char kFailFunction[]; 13 extern const char kFailFunction[];
14 extern const char kLogFunction[];
14 }; // namespace extension_test_api_functions 15 }; // namespace extension_test_api_functions
15 16
16 class ExtensionTestPassFunction : public SyncExtensionFunction { 17 class ExtensionTestPassFunction : public SyncExtensionFunction {
17 virtual bool RunImpl(); 18 virtual bool RunImpl();
18 }; 19 };
19 20
20 class ExtensionTestFailFunction : public SyncExtensionFunction { 21 class ExtensionTestFailFunction : public SyncExtensionFunction {
21 virtual bool RunImpl(); 22 virtual bool RunImpl();
22 }; 23 };
23 24
25 class ExtensionTestLogFunction : public SyncExtensionFunction {
26 virtual bool RunImpl();
27 };
28
24 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_TEST_API_H_ 29 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_TEST_API_H_
30
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_tabs_apitest.cc ('k') | chrome/browser/extensions/extension_test_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698