summaryrefslogtreecommitdiffstats
path: root/chrome/browser/chromeos/extensions/offers_private_api.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/chromeos/extensions/offers_private_api.h')
-rw-r--r--chrome/browser/chromeos/extensions/offers_private_api.h41
1 files changed, 0 insertions, 41 deletions
diff --git a/chrome/browser/chromeos/extensions/offers_private_api.h b/chrome/browser/chromeos/extensions/offers_private_api.h
deleted file mode 100644
index df7a56a..0000000
--- a/chrome/browser/chromeos/extensions/offers_private_api.h
+++ /dev/null
@@ -1,41 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CHROME_BROWSER_CHROMEOS_EXTENSIONS_OFFERS_PRIVATE_API_H_
-#define CHROME_BROWSER_CHROMEOS_EXTENSIONS_OFFERS_PRIVATE_API_H_
-
-#include "base/compiler_specific.h"
-#include "chrome/browser/extensions/extension_function.h"
-
-class GetCouponCodeFunction : public SyncExtensionFunction {
- public:
- GetCouponCodeFunction();
-
- protected:
- virtual ~GetCouponCodeFunction();
- virtual bool RunImpl() OVERRIDE;
-
- private:
- DECLARE_EXTENSION_FUNCTION_NAME("offersPrivate.getCouponCode");
-};
-
-class GetUserConsentFunction : public AsyncExtensionFunction {
- public:
- GetUserConsentFunction();
-
- // Called when user's consent response is known.
- void SetConsent(bool is_consent);
-
- protected:
- virtual ~GetUserConsentFunction();
- virtual bool RunImpl() OVERRIDE;
-
- private:
- // Show user consent confirmation bar.
- void ShowConsentInfoBar();
-
- DECLARE_EXTENSION_FUNCTION_NAME("offersPrivate.getUserConsent");
-};
-
-#endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_OFFERS_PRIVATE_API_H_