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

Side by Side Diff: chrome/browser/drive/dummy_drive_service.h

Issue 23591067: Add last_modified to CopyResource and MoveResource. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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_DRIVE_DUMMY_DRIVE_SERVICE_H_ 5 #ifndef CHROME_BROWSER_DRIVE_DUMMY_DRIVE_SERVICE_H_
6 #define CHROME_BROWSER_DRIVE_DUMMY_DRIVE_SERVICE_H_ 6 #define CHROME_BROWSER_DRIVE_DUMMY_DRIVE_SERVICE_H_
7 7
8 #include "chrome/browser/drive/drive_service_interface.h" 8 #include "chrome/browser/drive/drive_service_interface.h"
9 #include "chrome/browser/google_apis/auth_service_interface.h" 9 #include "chrome/browser/google_apis/auth_service_interface.h"
10 10
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 virtual google_apis::CancelCallback DownloadFile( 69 virtual google_apis::CancelCallback DownloadFile(
70 const base::FilePath& local_cache_path, 70 const base::FilePath& local_cache_path,
71 const std::string& resource_id, 71 const std::string& resource_id,
72 const google_apis::DownloadActionCallback& download_action_callback, 72 const google_apis::DownloadActionCallback& download_action_callback,
73 const google_apis::GetContentCallback& get_content_callback, 73 const google_apis::GetContentCallback& get_content_callback,
74 const google_apis::ProgressCallback& progress_callback) OVERRIDE; 74 const google_apis::ProgressCallback& progress_callback) OVERRIDE;
75 virtual google_apis::CancelCallback CopyResource( 75 virtual google_apis::CancelCallback CopyResource(
76 const std::string& resource_id, 76 const std::string& resource_id,
77 const std::string& parent_resource_id, 77 const std::string& parent_resource_id,
78 const std::string& new_title, 78 const std::string& new_title,
79 const base::Time& last_modified,
79 const google_apis::GetResourceEntryCallback& callback) OVERRIDE; 80 const google_apis::GetResourceEntryCallback& callback) OVERRIDE;
80 virtual google_apis::CancelCallback CopyHostedDocument( 81 virtual google_apis::CancelCallback CopyHostedDocument(
81 const std::string& resource_id, 82 const std::string& resource_id,
82 const std::string& new_title, 83 const std::string& new_title,
83 const google_apis::GetResourceEntryCallback& callback) OVERRIDE; 84 const google_apis::GetResourceEntryCallback& callback) OVERRIDE;
84 virtual google_apis::CancelCallback MoveResource( 85 virtual google_apis::CancelCallback MoveResource(
85 const std::string& resource_id, 86 const std::string& resource_id,
86 const std::string& parent_resource_id, 87 const std::string& parent_resource_id,
87 const std::string& new_title, 88 const std::string& new_title,
89 const base::Time& last_modified,
88 const google_apis::GetResourceEntryCallback& callback) OVERRIDE; 90 const google_apis::GetResourceEntryCallback& callback) OVERRIDE;
89 virtual google_apis::CancelCallback RenameResource( 91 virtual google_apis::CancelCallback RenameResource(
90 const std::string& resource_id, 92 const std::string& resource_id,
91 const std::string& new_title, 93 const std::string& new_title,
92 const google_apis::EntryActionCallback& callback) OVERRIDE; 94 const google_apis::EntryActionCallback& callback) OVERRIDE;
93 virtual google_apis::CancelCallback TouchResource( 95 virtual google_apis::CancelCallback TouchResource(
94 const std::string& resource_id, 96 const std::string& resource_id,
95 const base::Time& modified_date, 97 const base::Time& modified_date,
96 const base::Time& last_viewed_by_me_date, 98 const base::Time& last_viewed_by_me_date,
97 const google_apis::GetResourceEntryCallback& callback) OVERRIDE; 99 const google_apis::GetResourceEntryCallback& callback) OVERRIDE;
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 const std::string& directory_resource_id, 142 const std::string& directory_resource_id,
141 const google_apis::GetResourceListCallback& callback) OVERRIDE; 143 const google_apis::GetResourceListCallback& callback) OVERRIDE;
142 virtual google_apis::CancelCallback GetRemainingResourceList( 144 virtual google_apis::CancelCallback GetRemainingResourceList(
143 const GURL& next_link, 145 const GURL& next_link,
144 const google_apis::GetResourceListCallback& callback) OVERRIDE; 146 const google_apis::GetResourceListCallback& callback) OVERRIDE;
145 }; 147 };
146 148
147 } // namespace drive 149 } // namespace drive
148 150
149 #endif // CHROME_BROWSER_DRIVE_DUMMY_DRIVE_SERVICE_H_ 151 #endif // CHROME_BROWSER_DRIVE_DUMMY_DRIVE_SERVICE_H_
OLDNEW
« no previous file with comments | « chrome/browser/drive/drive_service_interface.h ('k') | chrome/browser/drive/dummy_drive_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698