Index: chrome/browser/google_apis/fake_drive_service.h |
diff --git a/chrome/browser/google_apis/fake_drive_service.h b/chrome/browser/google_apis/fake_drive_service.h |
index ac6aeceab9f86cc9771db9989f96b2d3b6cd1592..876509e996b79c500ac5a92e52541b342ab7b3e7 100644 |
--- a/chrome/browser/google_apis/fake_drive_service.h |
+++ b/chrome/browser/google_apis/fake_drive_service.h |
@@ -5,6 +5,7 @@ |
#ifndef CHROME_BROWSER_GOOGLE_APIS_FAKE_DRIVE_SERVICE_H_ |
#define CHROME_BROWSER_GOOGLE_APIS_FAKE_DRIVE_SERVICE_H_ |
+#include "base/values.h" |
#include "chrome/browser/google_apis/drive_service_interface.h" |
namespace google_apis { |
@@ -22,6 +23,12 @@ class FakeDriveService : public DriveServiceInterface { |
FakeDriveService(); |
virtual ~FakeDriveService(); |
+ // Loads the resource list for WAPI. Returns true on success. |
+ bool LoadResourceListForWapi(const std::string& relative_path); |
+ |
+ // Loads the account metadata for WAPI. Returns true on success. |
+ bool LoadAccountMetadataForWapi(const std::string& relative_path); |
+ |
// DriveServiceInterface Overrides |
virtual void Initialize(Profile* profile) OVERRIDE; |
virtual void AddObserver(DriveServiceObserver* observer) OVERRIDE; |
@@ -85,6 +92,11 @@ class FakeDriveService : public DriveServiceInterface { |
virtual void AuthorizeApp(const GURL& edit_url, |
const std::string& app_id, |
const AuthorizeAppCallback& callback) OVERRIDE; |
+ |
+ private: |
+ scoped_ptr<base::Value> resource_list_value_; |
+ scoped_ptr<base::Value> account_metadata_value_; |
+ DISALLOW_COPY_AND_ASSIGN(FakeDriveService); |
}; |
} // namespace google_apis |