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

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

Issue 9836086: Added logic that will return the result of the first chunk of root feed and continue fetching the r… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixed asserts in browser_tests Created 8 years, 9 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: 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 6fa42807f6b6a77d85108184f157d698682551cc..2ba50c6f6d565aaa358750ce85625da077bd5980 100644
--- a/chrome/browser/resources/file_manager/js/file_manager.js
+++ b/chrome/browser/resources/file_manager/js/file_manager.js
@@ -3470,11 +3470,7 @@ FileManager.prototype = {
this.watchedDirectoryUrl_ = null;
}
- if (event.newDirEntry.fullPath != '/' &&
- DirectoryModel.getRootType(event.newDirEntry.fullPath) !=
- DirectoryModel.GDATA_DIRECTORY) {
- // Currently file watchers do not work on GData. When they start working
- // we should be careful not to watch GData before it is mounted.
+ if (event.newDirEntry.fullPath != '/') {
this.watchedDirectoryUrl_ = event.newDirEntry.toURL();
chrome.fileBrowserPrivate.addFileWatch(this.watchedDirectoryUrl_,
function(result) {
« no previous file with comments | « chrome/browser/chromeos/gdata/gdata_operations.cc ('k') | chrome/test/data/chromeos/gdata/cached_feeds.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698