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

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

Issue 221773002: drive: Deprecate FakeDriveService::LoadAccountMetadataForWapi (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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
« no previous file with comments | « no previous file | chrome/browser/drive/fake_drive_service.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 CHROME_BROWSER_DRIVE_FAKE_DRIVE_SERVICE_H_ 5 #ifndef CHROME_BROWSER_DRIVE_FAKE_DRIVE_SERVICE_H_
6 #define CHROME_BROWSER_DRIVE_FAKE_DRIVE_SERVICE_H_ 6 #define CHROME_BROWSER_DRIVE_FAKE_DRIVE_SERVICE_H_
7 7
8 #include "base/files/file_path.h" 8 #include "base/files/file_path.h"
9 #include "base/values.h" 9 #include "base/values.h"
10 #include "chrome/browser/drive/drive_service_interface.h" 10 #include "chrome/browser/drive/drive_service_interface.h"
(...skipping 14 matching lines...) Expand all
25 // 2) Return valid responses based on the the in-memory resource list. 25 // 2) Return valid responses based on the the in-memory resource list.
26 // 3) Update the in-memory resource list by requests like DeleteResource(). 26 // 3) Update the in-memory resource list by requests like DeleteResource().
27 class FakeDriveService : public DriveServiceInterface { 27 class FakeDriveService : public DriveServiceInterface {
28 public: 28 public:
29 FakeDriveService(); 29 FakeDriveService();
30 virtual ~FakeDriveService(); 30 virtual ~FakeDriveService();
31 31
32 // Loads the resource list for WAPI. Returns true on success. 32 // Loads the resource list for WAPI. Returns true on success.
33 bool LoadResourceListForWapi(const std::string& relative_path); 33 bool LoadResourceListForWapi(const std::string& relative_path);
34 34
35 // DEPRECATED DO NOT USE
36 //
35 // Loads the account metadata for WAPI. Returns true on success. Also adds 37 // Loads the account metadata for WAPI. Returns true on success. Also adds
36 // the largest changestamp in the account metadata to the existing 38 // the largest changestamp in the account metadata to the existing
37 // entries. The changestamp information will be used to generate change 39 // entries. The changestamp information will be used to generate change
38 // lists in GetResourceList() when non-zero |start_changestamp| is 40 // lists in GetResourceList() when non-zero |start_changestamp| is
39 // specified. 41 // specified.
40 bool LoadAccountMetadataForWapi(const std::string& relative_path); 42 bool LoadAccountMetadataForWapi(const std::string& relative_path);
41 43
42 // Loads the app list for Drive API. Returns true on success. 44 // Loads the app list for Drive API. Returns true on success.
43 bool LoadAppListForDriveApi(const std::string& relative_path); 45 bool LoadAppListForDriveApi(const std::string& relative_path);
44 46
(...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after
334 bool never_return_all_resource_list_; 336 bool never_return_all_resource_list_;
335 base::FilePath last_cancelled_file_; 337 base::FilePath last_cancelled_file_;
336 GURL share_url_base_; 338 GURL share_url_base_;
337 339
338 DISALLOW_COPY_AND_ASSIGN(FakeDriveService); 340 DISALLOW_COPY_AND_ASSIGN(FakeDriveService);
339 }; 341 };
340 342
341 } // namespace drive 343 } // namespace drive
342 344
343 #endif // CHROME_BROWSER_DRIVE_FAKE_DRIVE_SERVICE_H_ 345 #endif // CHROME_BROWSER_DRIVE_FAKE_DRIVE_SERVICE_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/drive/fake_drive_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698