Disable view source for Developer Tools.
[chromium-blink-merge.git] / chrome / browser / chromeos / extensions / first_run_private_api.h
blob0d7bf3e9a0cbdcb2141734fef1614c067b8263db
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
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_CHROMEOS_EXTENSIONS_FIRST_RUN_PRIVATE_API_H_
6 #define CHROME_BROWSER_CHROMEOS_EXTENSIONS_FIRST_RUN_PRIVATE_API_H_
8 #include "base/compiler_specific.h"
9 #include "chrome/browser/extensions/chrome_extension_function.h"
10 #include "chrome/common/extensions/api/first_run_private.h"
12 class FirstRunPrivateGetLocalizedStringsFunction
13 : public ChromeSyncExtensionFunction {
14 public:
15 DECLARE_EXTENSION_FUNCTION("firstRunPrivate.getLocalizedStrings",
16 FIRSTRUNPRIVATE_GETLOCALIZEDSTRINGS)
18 protected:
19 virtual ~FirstRunPrivateGetLocalizedStringsFunction() {}
21 // SyncExtensionFunction overrides.
22 virtual bool RunImpl() OVERRIDE;
25 class FirstRunPrivateLaunchTutorialFunction
26 : public ChromeSyncExtensionFunction {
27 public:
28 DECLARE_EXTENSION_FUNCTION("firstRunPrivate.launchTutorial",
29 FIRSTRUNPRIVATE_LAUNCHTUTORIAL)
31 protected:
32 virtual ~FirstRunPrivateLaunchTutorialFunction() {}
34 // SyncExtensionFunction overrides.
35 virtual bool RunImpl() OVERRIDE;
38 #endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_FIRST_RUN_PRIVATE_API_H_