| Index: chrome/browser/chromeos/gdata/gdata_parser.h
|
| diff --git a/chrome/browser/chromeos/gdata/gdata_parser.h b/chrome/browser/chromeos/gdata/gdata_parser.h
|
| index 90d4599c5b38e5da61c064146a09a1cd45e44862..4a599784a42b32ca960a929f1bce4fc1ee92cee1 100644
|
| --- a/chrome/browser/chromeos/gdata/gdata_parser.h
|
| +++ b/chrome/browser/chromeos/gdata/gdata_parser.h
|
| @@ -658,7 +658,8 @@ class AccountMetadataFeed {
|
| // this method does some post-process for some fields. See
|
| // FillRemainingFields comment and implementation in DocumentEntry
|
| // class for the details.
|
| - static scoped_ptr<AccountMetadataFeed> CreateFrom(const base::Value& value);
|
| + static scoped_ptr<AccountMetadataFeed> CreateFrom(const base::Value& value,
|
| + bool use_drive_api);
|
|
|
| int64 quota_bytes_total() const {
|
| return quota_bytes_total_;
|
| @@ -676,27 +677,18 @@ class AccountMetadataFeed {
|
| return installed_apps_;
|
| }
|
|
|
| - // Registers the mapping between JSON field names and the members in
|
| - // this class.
|
| - static void RegisterJSONConverter(
|
| - base::JSONValueConverter<AccountMetadataFeed>* converter);
|
| -
|
| - private:
|
| + protected:
|
| AccountMetadataFeed();
|
|
|
| - // Parses and initializes data members from content of |value|.
|
| - // Return false if parsing fails.
|
| - bool Parse(const base::Value& value);
|
| -
|
| int64 quota_bytes_total_;
|
| int64 quota_bytes_used_;
|
| int largest_changestamp_;
|
| ScopedVector<InstalledApp> installed_apps_;
|
|
|
| + private:
|
| DISALLOW_COPY_AND_ASSIGN(AccountMetadataFeed);
|
| };
|
|
|
| -
|
| } // namespace gdata
|
|
|
| #endif // CHROME_BROWSER_CHROMEOS_GDATA_GDATA_PARSER_H_
|
|
|