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

Side by Side Diff: chrome/browser/chromeos/drive/file_system/drive_operations.h

Issue 15650008: drive: Rename drive::DriveClientContext to drive::ClientContext (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 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_FILE_SYSTEM_DRIVE_OPERATIONS_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_DRIVE_FILE_SYSTEM_DRIVE_OPERATIONS_H_
6 #define CHROME_BROWSER_CHROMEOS_DRIVE_FILE_SYSTEM_DRIVE_OPERATIONS_H_ 6 #define CHROME_BROWSER_CHROMEOS_DRIVE_FILE_SYSTEM_DRIVE_OPERATIONS_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "chrome/browser/chromeos/drive/file_system_interface.h" 9 #include "chrome/browser/chromeos/drive/file_system_interface.h"
10 10
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 // Wrapper function for touch_operation_. 113 // Wrapper function for touch_operation_.
114 // |callback| must not be null. 114 // |callback| must not be null.
115 void TouchFile(const base::FilePath& file_path, 115 void TouchFile(const base::FilePath& file_path,
116 const base::Time& last_access_time, 116 const base::Time& last_access_time,
117 const base::Time& last_modified_time, 117 const base::Time& last_modified_time,
118 const FileOperationCallback& callback); 118 const FileOperationCallback& callback);
119 119
120 // Wrapper function for update_operation_. 120 // Wrapper function for update_operation_.
121 // |callback| must not be null. 121 // |callback| must not be null.
122 void UpdateFileByResourceId(const std::string& resource_id, 122 void UpdateFileByResourceId(const std::string& resource_id,
123 DriveClientContext context, 123 ClientContext context,
hashimoto 2013/05/27 03:04:39 nit: Could you fix this to cont ClientContext& whi
satorux1 2013/05/27 03:36:11 Done.
124 const FileOperationCallback& callback); 124 const FileOperationCallback& callback);
125 125
126 // Wrapper function for search_operation_. 126 // Wrapper function for search_operation_.
127 // |callback| must not be null. 127 // |callback| must not be null.
128 void Search(const std::string& search_query, 128 void Search(const std::string& search_query,
129 const GURL& next_feed, 129 const GURL& next_feed,
130 const SearchOperationCallback& callback); 130 const SearchOperationCallback& callback);
131 131
132 private: 132 private:
133 scoped_ptr<CopyOperation> copy_operation_; 133 scoped_ptr<CopyOperation> copy_operation_;
134 scoped_ptr<CreateDirectoryOperation> create_directory_operation_; 134 scoped_ptr<CreateDirectoryOperation> create_directory_operation_;
135 scoped_ptr<CreateFileOperation> create_file_operation_; 135 scoped_ptr<CreateFileOperation> create_file_operation_;
136 scoped_ptr<MoveOperation> move_operation_; 136 scoped_ptr<MoveOperation> move_operation_;
137 scoped_ptr<RemoveOperation> remove_operation_; 137 scoped_ptr<RemoveOperation> remove_operation_;
138 scoped_ptr<TouchOperation> touch_operation_; 138 scoped_ptr<TouchOperation> touch_operation_;
139 scoped_ptr<UpdateOperation> update_operation_; 139 scoped_ptr<UpdateOperation> update_operation_;
140 scoped_ptr<SearchOperation> search_operation_; 140 scoped_ptr<SearchOperation> search_operation_;
141 }; 141 };
142 142
143 } // namespace file_system 143 } // namespace file_system
144 } // namespace drive 144 } // namespace drive
145 145
146 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_FILE_SYSTEM_DRIVE_OPERATIONS_H_ 146 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_FILE_SYSTEM_DRIVE_OPERATIONS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698