| OLD | NEW |
| 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "chrome/browser/extensions/extension_function.h" | 9 #include "chrome/browser/extensions/extension_function.h" |
| 10 | 10 |
| (...skipping 20 matching lines...) Expand all Loading... |
| 31 virtual bool RunImpl(); | 31 virtual bool RunImpl(); |
| 32 DECLARE_EXTENSION_FUNCTION_NAME("test.resetQuota") | 32 DECLARE_EXTENSION_FUNCTION_NAME("test.resetQuota") |
| 33 }; | 33 }; |
| 34 | 34 |
| 35 class ExtensionTestCreateIncognitoTabFunction : public SyncExtensionFunction { | 35 class ExtensionTestCreateIncognitoTabFunction : public SyncExtensionFunction { |
| 36 ~ExtensionTestCreateIncognitoTabFunction() {} | 36 ~ExtensionTestCreateIncognitoTabFunction() {} |
| 37 virtual bool RunImpl(); | 37 virtual bool RunImpl(); |
| 38 DECLARE_EXTENSION_FUNCTION_NAME("test.createIncognitoTab") | 38 DECLARE_EXTENSION_FUNCTION_NAME("test.createIncognitoTab") |
| 39 }; | 39 }; |
| 40 | 40 |
| 41 class ExtensionTestSendMessageFunction : public SyncExtensionFunction { | |
| 42 ~ExtensionTestSendMessageFunction() {} | |
| 43 virtual bool RunImpl(); | |
| 44 DECLARE_EXTENSION_FUNCTION_NAME("test.sendMessage") | |
| 45 }; | |
| 46 | |
| 47 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_TEST_API_H_ | 41 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_TEST_API_H_ |
| OLD | NEW |