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

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

Issue 11343004: drive: Add "Delta Update Status" section to chrome:drive-internals (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 1 month 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/drive/drive_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_DRIVE_DRIVE_FILE_SYSTEM_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_DRIVE_DRIVE_FILE_SYSTEM_H_
6 #define CHROME_BROWSER_CHROMEOS_DRIVE_DRIVE_FILE_SYSTEM_H_ 6 #define CHROME_BROWSER_CHROMEOS_DRIVE_DRIVE_FILE_SYSTEM_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 710 matching lines...) Expand 10 before | Expand all | Expand 10 after
721 721
722 // The document service owned by DriveSystemService. 722 // The document service owned by DriveSystemService.
723 google_apis::DriveServiceInterface* drive_service_; 723 google_apis::DriveServiceInterface* drive_service_;
724 724
725 // The webapps registry owned by DriveSystemService. 725 // The webapps registry owned by DriveSystemService.
726 DriveWebAppsRegistryInterface* webapps_registry_; 726 DriveWebAppsRegistryInterface* webapps_registry_;
727 727
728 // Periodic timer for checking updates. 728 // Periodic timer for checking updates.
729 base::Timer update_timer_; 729 base::Timer update_timer_;
730 730
731 // Time of the last update check.
732 base::Time last_update_check_time_;
733
734 // Error of the last update check.
735 DriveFileError last_update_check_error_;
736
731 // True if hosted documents should be hidden. 737 // True if hosted documents should be hidden.
732 bool hide_hosted_docs_; 738 bool hide_hosted_docs_;
733 739
734 // The set of paths opened by OpenFile but not yet closed by CloseFile. 740 // The set of paths opened by OpenFile but not yet closed by CloseFile.
735 std::set<FilePath> open_files_; 741 std::set<FilePath> open_files_;
736 742
737 scoped_ptr<PrefChangeRegistrar> pref_registrar_; 743 scoped_ptr<PrefChangeRegistrar> pref_registrar_;
738 744
739 // The loader is used to load the feeds. 745 // The loader is used to load the feeds.
740 scoped_ptr<DriveFeedLoader> feed_loader_; 746 scoped_ptr<DriveFeedLoader> feed_loader_;
741 747
742 ObserverList<DriveFileSystemObserver> observers_; 748 ObserverList<DriveFileSystemObserver> observers_;
743 749
744 scoped_refptr<base::SequencedTaskRunner> blocking_task_runner_; 750 scoped_refptr<base::SequencedTaskRunner> blocking_task_runner_;
745 751
746 file_system::DriveOperations drive_operations_; 752 file_system::DriveOperations drive_operations_;
747 753
748 scoped_ptr<DriveScheduler> scheduler_; 754 scoped_ptr<DriveScheduler> scheduler_;
749 755
756 // Polling interval for checking updates in seconds.
757 int polling_interval_sec_;
758
759 // True if push notification is enabled.
760 bool push_notification_enabled_;
761
750 // WeakPtrFactory and WeakPtr bound to the UI thread. 762 // WeakPtrFactory and WeakPtr bound to the UI thread.
751 // Note: These should remain the last member so they'll be destroyed and 763 // Note: These should remain the last member so they'll be destroyed and
752 // invalidate the weak pointers before any other members are destroyed. 764 // invalidate the weak pointers before any other members are destroyed.
753 base::WeakPtrFactory<DriveFileSystem> ui_weak_ptr_factory_; 765 base::WeakPtrFactory<DriveFileSystem> ui_weak_ptr_factory_;
754 // Unlike other classes, we need this as we need this to redirect a task 766 // Unlike other classes, we need this as we need this to redirect a task
755 // from IO thread to UI thread. 767 // from IO thread to UI thread.
756 base::WeakPtr<DriveFileSystem> ui_weak_ptr_; 768 base::WeakPtr<DriveFileSystem> ui_weak_ptr_;
757
758 // Polling interval for checking updates in seconds.
759 int polling_interval_sec_;
760 }; 769 };
761 770
762 } // namespace drive 771 } // namespace drive
763 772
764 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_DRIVE_FILE_SYSTEM_H_ 773 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_DRIVE_FILE_SYSTEM_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/drive/drive_file_system.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698