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

Side by Side Diff: components/drive/job_scheduler.h

Issue 2910913002: WIP.
Patch Set: rebase Created 3 years, 6 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
« no previous file with comments | « components/drive/chromeos/fake_file_system.cc ('k') | components/drive/job_scheduler.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 COMPONENTS_DRIVE_JOB_SCHEDULER_H_ 5 #ifndef COMPONENTS_DRIVE_JOB_SCHEDULER_H_
6 #define COMPONENTS_DRIVE_JOB_SCHEDULER_H_ 6 #define COMPONENTS_DRIVE_JOB_SCHEDULER_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 // |callback| must not be null. 88 // |callback| must not be null.
89 void GetAllTeamDriveList(const google_apis::TeamDriveListCallback& callback); 89 void GetAllTeamDriveList(const google_apis::TeamDriveListCallback& callback);
90 90
91 // Adds a GetAllFileList operation to the queue. 91 // Adds a GetAllFileList operation to the queue.
92 // |callback| must not be null. 92 // |callback| must not be null.
93 void GetAllFileList(const google_apis::FileListCallback& callback); 93 void GetAllFileList(const google_apis::FileListCallback& callback);
94 94
95 // Adds a GetFileListInDirectory operation to the queue. 95 // Adds a GetFileListInDirectory operation to the queue.
96 // |callback| must not be null. 96 // |callback| must not be null.
97 void GetFileListInDirectory(const std::string& directory_resource_id, 97 void GetFileListInDirectory(const std::string& directory_resource_id,
98 const std::string& team_drive_id,
98 const google_apis::FileListCallback& callback); 99 const google_apis::FileListCallback& callback);
99 100
100 // Adds a Search operation to the queue. 101 // Adds a Search operation to the queue.
101 // |callback| must not be null. 102 // |callback| must not be null.
102 void Search(const std::string& search_query, 103 void Search(const std::string& search_query,
103 const google_apis::FileListCallback& callback); 104 const google_apis::FileListCallback& callback);
104 105
105 // Adds a GetChangeList operation to the queue. 106 // Adds a GetChangeList operation to the queue.
106 // |callback| must not be null. 107 // |callback| must not be null.
107 void GetChangeList(int64_t start_changestamp, 108 void GetChangeList(int64_t start_changestamp,
(...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after
416 417
417 // Note: This should remain the last member so it'll be destroyed and 418 // Note: This should remain the last member so it'll be destroyed and
418 // invalidate its weak pointers before any other members are destroyed. 419 // invalidate its weak pointers before any other members are destroyed.
419 base::WeakPtrFactory<JobScheduler> weak_ptr_factory_; 420 base::WeakPtrFactory<JobScheduler> weak_ptr_factory_;
420 DISALLOW_COPY_AND_ASSIGN(JobScheduler); 421 DISALLOW_COPY_AND_ASSIGN(JobScheduler);
421 }; 422 };
422 423
423 } // namespace drive 424 } // namespace drive
424 425
425 #endif // COMPONENTS_DRIVE_JOB_SCHEDULER_H_ 426 #endif // COMPONENTS_DRIVE_JOB_SCHEDULER_H_
OLDNEW
« no previous file with comments | « components/drive/chromeos/fake_file_system.cc ('k') | components/drive/job_scheduler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698