| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_CHROMEOS_EXTENSIONS_FIRST_RUN_PRIVATE_API_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_EXTENSIONS_FIRST_RUN_PRIVATE_API_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_EXTENSIONS_FIRST_RUN_PRIVATE_API_H_ | 6 #define CHROME_BROWSER_CHROMEOS_EXTENSIONS_FIRST_RUN_PRIVATE_API_H_ |
| 7 | 7 |
| 8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "chrome/browser/extensions/chrome_extension_function.h" | 9 #include "chrome/browser/extensions/chrome_extension_function.h" |
| 10 #include "chrome/common/extensions/api/first_run_private.h" | 10 #include "chrome/common/extensions/api/first_run_private.h" |
| 11 | 11 |
| 12 class FirstRunPrivateGetLocalizedStringsFunction | 12 class FirstRunPrivateGetLocalizedStringsFunction |
| 13 : public ChromeSyncExtensionFunction { | 13 : public ChromeSyncExtensionFunction { |
| 14 public: | 14 public: |
| 15 DECLARE_EXTENSION_FUNCTION("firstRunPrivate.getLocalizedStrings", | 15 DECLARE_EXTENSION_FUNCTION("firstRunPrivate.getLocalizedStrings", |
| 16 FIRSTRUNPRIVATE_GETLOCALIZEDSTRINGS) | 16 FIRSTRUNPRIVATE_GETLOCALIZEDSTRINGS) |
| 17 | 17 |
| 18 protected: | 18 protected: |
| 19 virtual ~FirstRunPrivateGetLocalizedStringsFunction() {} | 19 virtual ~FirstRunPrivateGetLocalizedStringsFunction() {} |
| 20 | 20 |
| 21 // SyncExtensionFunction overrides. | 21 // SyncExtensionFunction overrides. |
| 22 virtual bool RunSync() OVERRIDE; | 22 virtual bool RunSync() override; |
| 23 }; | 23 }; |
| 24 | 24 |
| 25 class FirstRunPrivateLaunchTutorialFunction | 25 class FirstRunPrivateLaunchTutorialFunction |
| 26 : public ChromeSyncExtensionFunction { | 26 : public ChromeSyncExtensionFunction { |
| 27 public: | 27 public: |
| 28 DECLARE_EXTENSION_FUNCTION("firstRunPrivate.launchTutorial", | 28 DECLARE_EXTENSION_FUNCTION("firstRunPrivate.launchTutorial", |
| 29 FIRSTRUNPRIVATE_LAUNCHTUTORIAL) | 29 FIRSTRUNPRIVATE_LAUNCHTUTORIAL) |
| 30 | 30 |
| 31 protected: | 31 protected: |
| 32 virtual ~FirstRunPrivateLaunchTutorialFunction() {} | 32 virtual ~FirstRunPrivateLaunchTutorialFunction() {} |
| 33 | 33 |
| 34 // SyncExtensionFunction overrides. | 34 // SyncExtensionFunction overrides. |
| 35 virtual bool RunSync() OVERRIDE; | 35 virtual bool RunSync() override; |
| 36 }; | 36 }; |
| 37 | 37 |
| 38 #endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_FIRST_RUN_PRIVATE_API_H_ | 38 #endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_FIRST_RUN_PRIVATE_API_H_ |
| OLD | NEW |