| Index: chrome/browser/chromeos/gdata/gdata_operations.h
|
| diff --git a/chrome/browser/chromeos/gdata/gdata_operations.h b/chrome/browser/chromeos/gdata/gdata_operations.h
|
| index 1466ae8d9af8fd94f59f2f725b68e48d985e5a1b..e9f8234b2b23f9662565d39a3cf92ba04e405fce 100644
|
| --- a/chrome/browser/chromeos/gdata/gdata_operations.h
|
| +++ b/chrome/browser/chromeos/gdata/gdata_operations.h
|
| @@ -168,8 +168,7 @@ class EntryActionOperation : public UrlFetchOperationBase {
|
| protected:
|
| // Overridden from UrlFetchOperationBase.
|
| virtual GURL GetURL() const OVERRIDE;
|
| - virtual bool ProcessURLFetchResults(const net::URLFetcher* source)
|
| - OVERRIDE;
|
| + virtual bool ProcessURLFetchResults(const net::URLFetcher* source) OVERRIDE;
|
| virtual void RunCallbackOnPrematureFailure(GDataErrorCode code) OVERRIDE;
|
|
|
| const GURL& document_url() const { return document_url_; }
|
| @@ -196,8 +195,7 @@ class GetDataOperation : public UrlFetchOperationBase {
|
|
|
| protected:
|
| // Overridden from UrlFetchOperationBase.
|
| - virtual bool ProcessURLFetchResults(const net::URLFetcher* source)
|
| - OVERRIDE;
|
| + virtual bool ProcessURLFetchResults(const net::URLFetcher* source) OVERRIDE;
|
| virtual void RunCallbackOnPrematureFailure(GDataErrorCode code) OVERRIDE;
|
|
|
| private:
|
| @@ -264,7 +262,8 @@ class GetAccountMetadataOperation : public GetDataOperation {
|
| public:
|
| GetAccountMetadataOperation(GDataOperationRegistry* registry,
|
| Profile* profile,
|
| - const GetDataCallback& callback);
|
| + const GetDataCallback& callback,
|
| + bool use_drive_api);
|
| virtual ~GetAccountMetadataOperation();
|
|
|
| protected:
|
| @@ -272,6 +271,9 @@ class GetAccountMetadataOperation : public GetDataOperation {
|
| virtual GURL GetURL() const OVERRIDE;
|
|
|
| private:
|
| + // True if Drive v2 API is used.
|
| + bool use_drive_api_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(GetAccountMetadataOperation);
|
| };
|
|
|
|
|