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

Side by Side Diff: chrome/browser/chromeos/gdata/gdata_file_system.h

Issue 10829130: gdata: Remove NotifyDirectoryChanged() and NotifyDocumentFeedFetched() (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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/chromeos/gdata/gdata_file_system.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_CHROMEOS_GDATA_GDATA_FILE_SYSTEM_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_GDATA_GDATA_FILE_SYSTEM_H_
6 #define CHROME_BROWSER_CHROMEOS_GDATA_GDATA_FILE_SYSTEM_H_ 6 #define CHROME_BROWSER_CHROMEOS_GDATA_GDATA_FILE_SYSTEM_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 590 matching lines...) Expand 10 before | Expand all | Expand 10 after
601 void LoadRootFeedFromCache(bool should_load_from_server, 601 void LoadRootFeedFromCache(bool should_load_from_server,
602 const FilePath& search_file_path, 602 const FilePath& search_file_path,
603 const FindEntryCallback& callback); 603 const FindEntryCallback& callback);
604 604
605 // Callback for handling root directory refresh from the cache. 605 // Callback for handling root directory refresh from the cache.
606 void OnProtoLoaded(LoadRootFeedParams* params); 606 void OnProtoLoaded(LoadRootFeedParams* params);
607 607
608 // Save filesystem as proto file. 608 // Save filesystem as proto file.
609 void SaveFileSystemAsProto(); 609 void SaveFileSystemAsProto();
610 610
611 // Notifies events to observers on UI thread.
612 void NotifyDirectoryChanged(const FilePath& directory_path);
613 void NotifyDocumentFeedFetched(int num_accumulated_entries);
614
615 // Runs the callback and notifies that the initial load is finished. 611 // Runs the callback and notifies that the initial load is finished.
616 void RunAndNotifyInitialLoadFinished( 612 void RunAndNotifyInitialLoadFinished(
617 const FindEntryCallback& callback, 613 const FindEntryCallback& callback,
618 GDataFileError error, 614 GDataFileError error,
619 GDataEntry* entry); 615 GDataEntry* entry);
620 616
621 // Helper function that completes bookkeeping tasks related to 617 // Helper function that completes bookkeeping tasks related to
622 // completed file transfer. 618 // completed file transfer.
623 void OnTransferCompleted( 619 void OnTransferCompleted(
624 const FileOperationCallback& callback, 620 const FileOperationCallback& callback,
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after
883 base::WeakPtr<GDataFileSystem> ui_weak_ptr_; 879 base::WeakPtr<GDataFileSystem> ui_weak_ptr_;
884 880
885 ObserverList<Observer> observers_; 881 ObserverList<Observer> observers_;
886 882
887 scoped_refptr<base::SequencedTaskRunner> blocking_task_runner_; 883 scoped_refptr<base::SequencedTaskRunner> blocking_task_runner_;
888 }; 884 };
889 885
890 } // namespace gdata 886 } // namespace gdata
891 887
892 #endif // CHROME_BROWSER_CHROMEOS_GDATA_GDATA_FILE_SYSTEM_H_ 888 #endif // CHROME_BROWSER_CHROMEOS_GDATA_GDATA_FILE_SYSTEM_H_
OLDNEW
« 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