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

Unified Diff: chrome/browser/chromeos/gdata/gdata_file_system.h

Issue 10830211: Revert 150436 - gdata: Remove hide_hosted_documents from ReadDirectoryCallback (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 4 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 | chrome/browser/chromeos/gdata/gdata_file_system.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/gdata/gdata_file_system.h
===================================================================
--- chrome/browser/chromeos/gdata/gdata_file_system.h (revision 150519)
+++ chrome/browser/chromeos/gdata/gdata_file_system.h (working copy)
@@ -600,6 +600,9 @@
void FindEntryByPathSyncOnUIThread(const FilePath& search_file_path,
const FindEntryCallback& callback);
+ // Changes state of hosted documents visibility, triggers directory refresh.
+ void SetHideHostedDocuments(bool hide);
+
// Initializes preference change observer.
void InitializePreferenceObserver();
@@ -794,6 +797,9 @@
// Periodic timer for checking updates.
base::Timer update_timer_;
+ // True if hosted documents should be hidden.
+ bool hide_hosted_docs_;
+
// The set of paths opened by OpenFile but not yet closed by CloseFile.
std::set<FilePath> open_files_;
« no previous file with comments | « no previous file | chrome/browser/chromeos/gdata/gdata_file_system.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698