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

Unified Diff: chrome/browser/resources/file_manager/js/drive_banners.js

Issue 11017028: Change link in the new Drive promo (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Updated the board detection regexp Created 8 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/file_manager/js/drive_banners.js
diff --git a/chrome/browser/resources/file_manager/js/drive_banners.js b/chrome/browser/resources/file_manager/js/drive_banners.js
index dad94c921949dd3553f94a1e7d4b16d96e343b59..23a05e343e4c017996e7db59b3f024737096ec6b 100644
--- a/chrome/browser/resources/file_manager/js/drive_banners.js
+++ b/chrome/browser/resources/file_manager/js/drive_banners.js
@@ -16,7 +16,7 @@ function FileListBannerController(directoryModel, volumeManager, document) {
this.driveEnabled_ = false;
var board = str('CHROMEOS_RELEASE_BOARD');
- if (board.match(/^(stumpy|lumpy)/i))
+ if (!board.match(/^x86-(mario|zgb|alex)/i))
this.checkPromoAvailable_();
else
this.newWelcome_ = false;
@@ -49,11 +49,6 @@ var WELCOME_HEADER_COUNTER_KEY = 'gdataWelcomeHeaderCounter';
var WELCOME_HEADER_COUNTER_LIMIT = 5;
/**
- * Location of the Chromebook information page.
- */
-var CHROMEBOOK_INFO_URL = 'http://google.com/chromebook';
-
-/**
* Location of the FAQ about Google Drive.
*/
var GOOGLE_DRIVE_FAQ_URL =
@@ -120,7 +115,7 @@ FileListBannerController.prototype.showBanner_ = function(type, messageId) {
more = util.createChild(links,
'gdata-welcome-button gdata-welcome-start', 'a');
more.textContent = str('GDATA_WELCOME_GET_STARTED');
- more.href = CHROMEBOOK_INFO_URL;
+ more.href = GOOGLE_DRIVE_REDEEM;
} else {
title.textContent = str('GDATA_WELCOME_TITLE');
more = util.createChild(links, 'plain-link', 'a');
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698