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

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

Issue 449763002: Remove DriveServiceInterface::RenameResource (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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
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_JOB_SCHEDULER_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_DRIVE_JOB_SCHEDULER_H_
6 #define CHROME_BROWSER_CHROMEOS_DRIVE_JOB_SCHEDULER_H_ 6 #define CHROME_BROWSER_CHROMEOS_DRIVE_JOB_SCHEDULER_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/id_map.h" 10 #include "base/id_map.h"
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 137
138 // Adds a UpdateResource operation to the queue. 138 // Adds a UpdateResource operation to the queue.
139 void UpdateResource(const std::string& resource_id, 139 void UpdateResource(const std::string& resource_id,
140 const std::string& parent_resource_id, 140 const std::string& parent_resource_id,
141 const std::string& new_title, 141 const std::string& new_title,
142 const base::Time& last_modified, 142 const base::Time& last_modified,
143 const base::Time& last_viewed_by_me, 143 const base::Time& last_viewed_by_me,
144 const ClientContext& context, 144 const ClientContext& context,
145 const google_apis::FileResourceCallback& callback); 145 const google_apis::FileResourceCallback& callback);
146 146
147 // Adds a RenameResource operation to the queue.
148 void RenameResource(const std::string& resource_id,
149 const std::string& new_title,
150 const google_apis::EntryActionCallback& callback);
151
152 // Adds a AddResourceToDirectory operation to the queue. 147 // Adds a AddResourceToDirectory operation to the queue.
153 void AddResourceToDirectory(const std::string& parent_resource_id, 148 void AddResourceToDirectory(const std::string& parent_resource_id,
154 const std::string& resource_id, 149 const std::string& resource_id,
155 const google_apis::EntryActionCallback& callback); 150 const google_apis::EntryActionCallback& callback);
156 151
157 // Adds a RemoveResourceFromDirectory operation to the queue. 152 // Adds a RemoveResourceFromDirectory operation to the queue.
158 void RemoveResourceFromDirectory( 153 void RemoveResourceFromDirectory(
159 const std::string& parent_resource_id, 154 const std::string& parent_resource_id,
160 const std::string& resource_id, 155 const std::string& resource_id,
161 const ClientContext& context, 156 const ClientContext& context,
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after
399 394
400 // Note: This should remain the last member so it'll be destroyed and 395 // Note: This should remain the last member so it'll be destroyed and
401 // invalidate its weak pointers before any other members are destroyed. 396 // invalidate its weak pointers before any other members are destroyed.
402 base::WeakPtrFactory<JobScheduler> weak_ptr_factory_; 397 base::WeakPtrFactory<JobScheduler> weak_ptr_factory_;
403 DISALLOW_COPY_AND_ASSIGN(JobScheduler); 398 DISALLOW_COPY_AND_ASSIGN(JobScheduler);
404 }; 399 };
405 400
406 } // namespace drive 401 } // namespace drive
407 402
408 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_JOB_SCHEDULER_H_ 403 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_JOB_SCHEDULER_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/drive/job_list.cc ('k') | chrome/browser/chromeos/drive/job_scheduler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698