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

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

Issue 23691034: [Files.app] Enable webstore integration by default. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 3 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/file_manager.js
diff --git a/chrome/browser/resources/file_manager/js/file_manager.js b/chrome/browser/resources/file_manager/js/file_manager.js
index 3ac37665c5161b2ae5fa010b0d0579e6e7dc109f..f1276c96f758968753f935a8b969184c062e293b 100644
--- a/chrome/browser/resources/file_manager/js/file_manager.js
+++ b/chrome/browser/resources/file_manager/js/file_manager.js
@@ -179,15 +179,10 @@ var BOTTOM_MARGIN_FOR_PREVIEW_PANEL_PX = 52;
}.bind(this));
}.bind(this));
- // TODO(yoshiki): Remove the flag when the feature is launched.
- this.enableExperimentalWebstoreIntegration_ = false;
- group.add(function(done) {
- chrome.commandLinePrivate.hasSwitch(
- 'file-manager-enable-webstore-integration', function(flag) {
- this.enableExperimentalWebstoreIntegration_ = flag;
- done();
- }.bind(this));
- }.bind(this));
+ // TODO(yoshiki): Now the integration is always enabled. Remove this code
+ // when the feature is launched successfully in M31. Until then, we keep it
+ // just in case.
+ this.enableExperimentalWebstoreIntegration_ = true;
group.run(callback);
};
@@ -2279,6 +2274,8 @@ var BOTTOM_MARGIN_FOR_PREVIEW_PANEL_PX = 52;
this.alert.showHtml(filename, text, function() {});
}.bind(this);
+ // TODO(yoshiki): Now the integration is always enabled. Remove this
+ // code when the feature is launched successfully in M31.
if (!this.enableExperimentalWebstoreIntegration_) {
showAlert();
return;
« 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