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

Side by Side Diff: chrome/browser/chromeos/extensions/offers_private_api.h

Issue 10086011: [Chrome OS ECHO]: Rename API and method names (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: address tbarzic's comments Created 8 years, 8 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
OLDNEW
(Empty)
1 // Copyright (c) 2012 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.
4
5 #ifndef CHROME_BROWSER_CHROMEOS_EXTENSIONS_OFFERS_PRIVATE_API_H_
6 #define CHROME_BROWSER_CHROMEOS_EXTENSIONS_OFFERS_PRIVATE_API_H_
7
8 #include "base/compiler_specific.h"
9 #include "chrome/browser/extensions/extension_function.h"
10
11 class GetCouponCodeFunction : public SyncExtensionFunction {
12 public:
13 GetCouponCodeFunction();
14
15 protected:
16 virtual ~GetCouponCodeFunction();
17 virtual bool RunImpl() OVERRIDE;
18
19 private:
20 DECLARE_EXTENSION_FUNCTION_NAME("offersPrivate.getCouponCode");
21 };
22
23 class GetUserConsentFunction : public AsyncExtensionFunction {
24 public:
25 GetUserConsentFunction();
26
27 // Called when user's consent response is known.
28 void SetConsent(bool is_consent);
29
30 protected:
31 virtual ~GetUserConsentFunction();
32 virtual bool RunImpl() OVERRIDE;
33
34 private:
35 // Show user consent confirmation bar.
36 void ShowConsentInfoBar();
37
38 DECLARE_EXTENSION_FUNCTION_NAME("offersPrivate.getUserConsent");
39 };
40
41 #endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_OFFERS_PRIVATE_API_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/extensions/echo_private_apitest.cc ('k') | chrome/browser/chromeos/extensions/offers_private_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698