| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_MOCK_EXTENSION_SERVICE_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_MOCK_EXTENSION_SERVICE_H_ |
| 6 #define CHROME_BROWSER_EXTENSIONS_MOCK_EXTENSION_SERVICE_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_MOCK_EXTENSION_SERVICE_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 21 matching lines...) Expand all Loading... |
| 32 bool(const std::string&)); | 32 bool(const std::string&)); |
| 33 MOCK_METHOD1(EnableExtension, void(const std::string&)); | 33 MOCK_METHOD1(EnableExtension, void(const std::string&)); |
| 34 MOCK_METHOD1(DisableExtension, void(const std::string&)); | 34 MOCK_METHOD1(DisableExtension, void(const std::string&)); |
| 35 MOCK_METHOD1(UpdateExtensionBlacklist, | 35 MOCK_METHOD1(UpdateExtensionBlacklist, |
| 36 void(const std::vector<std::string>&)); | 36 void(const std::vector<std::string>&)); |
| 37 MOCK_METHOD0(CheckAdminBlacklist, void()); | 37 MOCK_METHOD0(CheckAdminBlacklist, void()); |
| 38 MOCK_METHOD0(HasInstalledExtensions, bool()); | 38 MOCK_METHOD0(HasInstalledExtensions, bool()); |
| 39 MOCK_CONST_METHOD1(IsIncognitoEnabled, bool(const std::string&)); | 39 MOCK_CONST_METHOD1(IsIncognitoEnabled, bool(const std::string&)); |
| 40 MOCK_METHOD2(SetIsIncognitoEnabled, void(const std::string&, bool)); | 40 MOCK_METHOD2(SetIsIncognitoEnabled, void(const std::string&, bool)); |
| 41 MOCK_METHOD0(CheckForUpdatesSoon, void()); | 41 MOCK_METHOD0(CheckForUpdatesSoon, void()); |
| 42 MOCK_METHOD1(ProcessSyncData, void(const ExtensionSyncData&)); |
| 42 }; | 43 }; |
| 43 | 44 |
| 44 #endif // CHROME_BROWSER_EXTENSIONS_MOCK_EXTENSION_SERVICE_H_ | 45 #endif // CHROME_BROWSER_EXTENSIONS_MOCK_EXTENSION_SERVICE_H_ |
| OLD | NEW |