Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / sync_file_system / sync_process_runner.h
index 3fa1092..118ca70 100644 (file)
@@ -78,14 +78,14 @@ class SyncProcessRunner {
 
   int64 pending_changes() const { return pending_changes_; }
 
- protected:
-  void OnChangesUpdated(int64 pending_changes);
-  SyncFileSystemService* GetSyncService();
-
   // Returns the current service state.  Default implementation returns
   // sync_service()->GetSyncServiceState().
   virtual SyncServiceState GetServiceState();
 
+ protected:
+  void OnChangesUpdated(int64 pending_changes);
+  SyncFileSystemService* GetSyncService();
+
  private:
   void Finished(const base::TimeTicks& start_time, SyncStatusCode status);
   void Run();
@@ -99,6 +99,8 @@ class SyncProcessRunner {
   void ResetOldThrottling();
   void ResetThrottling();
 
+  void CheckIfIdle();
+
   std::string name_;
   Client* client_;
   size_t max_parallel_task_;