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

Unified Diff: ui/file_manager/file_manager/foreground/js/share_dialog.js

Issue 550863003: Rename fileBrowserPrivate to fileManagerPrivate (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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
Index: ui/file_manager/file_manager/foreground/js/share_dialog.js
diff --git a/ui/file_manager/file_manager/foreground/js/share_dialog.js b/ui/file_manager/file_manager/foreground/js/share_dialog.js
index bde1e080075d1ee9357d235d04c23962018aeebd..c95a51a5cca2682bcd795743ff3852d26de8e999 100644
--- a/ui/file_manager/file_manager/foreground/js/share_dialog.js
+++ b/ui/file_manager/file_manager/foreground/js/share_dialog.js
@@ -87,7 +87,7 @@ ShareDialog.WebViewAuthorizer.prototype.initialize = function(callback) {
*/
ShareDialog.WebViewAuthorizer.prototype.authorize = function(callback) {
// Fetch or update the access token.
- chrome.fileBrowserPrivate.requestAccessToken(false, // force_refresh
+ chrome.fileManagerPrivate.requestAccessToken(false, // force_refresh
function(inAccessToken) {
this.accessToken_ = inAccessToken;
callback();
@@ -265,7 +265,7 @@ ShareDialog.prototype.show = function(entry, callback) {
// Fetches an url to the sharing dialog.
var shareUrl;
group.add(function(inCallback) {
- chrome.fileBrowserPrivate.getShareUrl(
+ chrome.fileManagerPrivate.getShareUrl(
entry.toURL(),
function(inShareUrl) {
if (!chrome.runtime.lastError)

Powered by Google App Engine
This is Rietveld 408576698