| Index: chrome/browser/resources/chromeos/offers/main.js
|
| diff --git a/chrome/browser/resources/chromeos/offers/main.js b/chrome/browser/resources/chromeos/offers/main.js
|
| deleted file mode 100644
|
| index 508e30f6001acd1c2cab246a548ace304a48d259..0000000000000000000000000000000000000000
|
| --- a/chrome/browser/resources/chromeos/offers/main.js
|
| +++ /dev/null
|
| @@ -1,20 +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.
|
| -
|
| -function couponCodeCallback(result) {
|
| - response = "getCouponCode returned: " + result;
|
| - console.log(response);
|
| -}
|
| -
|
| -function consentCallback(result) {
|
| - if (result == true) {
|
| - chrome.offersPrivate.getCouponCode("COUPON_CODE", couponCodeCallback);
|
| - return;
|
| - }
|
| - console.log("User declined ECHO!");
|
| -}
|
| -
|
| -window.onload = function() {
|
| - chrome.offersPrivate.getUserConsent(consentCallback);
|
| -}
|
|
|