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

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

Issue 10873026: Rename GDataSystemService to DriveSystemService (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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 unified diff | Download patch | Annotate | Revision Log
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_DRIVE_FILE_SYSTEM_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_GDATA_DRIVE_FILE_SYSTEM_H_
6 #define CHROME_BROWSER_CHROMEOS_GDATA_DRIVE_FILE_SYSTEM_H_ 6 #define CHROME_BROWSER_CHROMEOS_GDATA_DRIVE_FILE_SYSTEM_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 820 matching lines...) Expand 10 before | Expand all | Expand 10 after
831 void CheckLocalModificationAndRunAfterGetFileInfo( 831 void CheckLocalModificationAndRunAfterGetFileInfo(
832 scoped_ptr<DriveEntryProto> entry_proto, 832 scoped_ptr<DriveEntryProto> entry_proto,
833 const GetEntryInfoCallback& callback, 833 const GetEntryInfoCallback& callback,
834 base::PlatformFileInfo* file_info, 834 base::PlatformFileInfo* file_info,
835 bool* get_file_info_result); 835 bool* get_file_info_result);
836 836
837 // All members should be accessed only on UI thread. Do not post tasks to 837 // All members should be accessed only on UI thread. Do not post tasks to
838 // other threads with base::Unretained(this). 838 // other threads with base::Unretained(this).
839 scoped_ptr<DriveResourceMetadata> resource_metadata_; 839 scoped_ptr<DriveResourceMetadata> resource_metadata_;
840 840
841 // The profile hosts the DriveFileSystem via GDataSystemService. 841 // The profile hosts the DriveFileSystem via DriveSystemService.
842 Profile* profile_; 842 Profile* profile_;
843 843
844 // The cache owned by GDataSystemService. 844 // The cache owned by DriveSystemService.
845 DriveCache* cache_; 845 DriveCache* cache_;
846 846
847 // The uploader owned by GDataSystemService. 847 // The uploader owned by DriveSystemService.
848 GDataUploaderInterface* uploader_; 848 GDataUploaderInterface* uploader_;
849 849
850 // The document service owned by GDataSystemService. 850 // The document service owned by DriveSystemService.
851 DriveServiceInterface* drive_service_; 851 DriveServiceInterface* drive_service_;
852 852
853 // The webapps registry owned by GDataSystemService. 853 // The webapps registry owned by DriveSystemService.
854 DriveWebAppsRegistryInterface* webapps_registry_; 854 DriveWebAppsRegistryInterface* webapps_registry_;
855 855
856 // Periodic timer for checking updates. 856 // Periodic timer for checking updates.
857 base::Timer update_timer_; 857 base::Timer update_timer_;
858 858
859 // True if hosted documents should be hidden. 859 // True if hosted documents should be hidden.
860 bool hide_hosted_docs_; 860 bool hide_hosted_docs_;
861 861
862 // The set of paths opened by OpenFile but not yet closed by CloseFile. 862 // The set of paths opened by OpenFile but not yet closed by CloseFile.
863 std::set<FilePath> open_files_; 863 std::set<FilePath> open_files_;
(...skipping 12 matching lines...) Expand all
876 // invalidate the weak pointers before any other members are destroyed. 876 // invalidate the weak pointers before any other members are destroyed.
877 base::WeakPtrFactory<DriveFileSystem> ui_weak_ptr_factory_; 877 base::WeakPtrFactory<DriveFileSystem> ui_weak_ptr_factory_;
878 // Unlike other classes, we need this as we need this to redirect a task 878 // Unlike other classes, we need this as we need this to redirect a task
879 // from IO thread to UI thread. 879 // from IO thread to UI thread.
880 base::WeakPtr<DriveFileSystem> ui_weak_ptr_; 880 base::WeakPtr<DriveFileSystem> ui_weak_ptr_;
881 }; 881 };
882 882
883 } // namespace gdata 883 } // namespace gdata
884 884
885 #endif // CHROME_BROWSER_CHROMEOS_GDATA_DRIVE_FILE_SYSTEM_H_ 885 #endif // CHROME_BROWSER_CHROMEOS_GDATA_DRIVE_FILE_SYSTEM_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698