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

Side by Side Diff: chrome/browser/google_apis/gdata_wapi_parser.h

Issue 12017026: drive: Add support for pagenation to FakeDriveService (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address comments Created 7 years, 11 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 | « chrome/browser/google_apis/fake_drive_service_unittest.cc ('k') | no next file » | 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_GOOGLE_APIS_GDATA_WAPI_PARSER_H_ 5 #ifndef CHROME_BROWSER_GOOGLE_APIS_GDATA_WAPI_PARSER_H_
6 #define CHROME_BROWSER_GOOGLE_APIS_GDATA_WAPI_PARSER_H_ 6 #define CHROME_BROWSER_GOOGLE_APIS_GDATA_WAPI_PARSER_H_
7 7
8 #include <string> 8 #include <string>
9 #include <utility> 9 #include <utility>
10 #include <vector> 10 #include <vector>
(...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after
325 base::Time updated_time() const { return updated_time_; } 325 base::Time updated_time() const { return updated_time_; }
326 326
327 // Entry ETag. 327 // Entry ETag.
328 const std::string& etag() const { return etag_; } 328 const std::string& etag() const { return etag_; }
329 329
330 // List of entry authors. 330 // List of entry authors.
331 const ScopedVector<Author>& authors() const { return authors_; } 331 const ScopedVector<Author>& authors() const { return authors_; }
332 332
333 // List of entry links. 333 // List of entry links.
334 const ScopedVector<Link>& links() const { return links_; } 334 const ScopedVector<Link>& links() const { return links_; }
335 ScopedVector<Link>* mutable_links() { return &links_; }
335 336
336 // List of entry categories. 337 // List of entry categories.
337 const ScopedVector<Category>& categories() const { return categories_; } 338 const ScopedVector<Category>& categories() const { return categories_; }
338 339
339 void set_etag(const std::string& etag) { etag_ = etag; } 340 void set_etag(const std::string& etag) { etag_ = etag; }
340 void set_authors(ScopedVector<Author>* authors) { 341 void set_authors(ScopedVector<Author>* authors) {
341 authors_.swap(*authors); 342 authors_.swap(*authors);
342 } 343 }
343 void set_links(ScopedVector<Link>* links) { 344 void set_links(ScopedVector<Link>* links) {
344 links_.swap(*links); 345 links_.swap(*links);
(...skipping 503 matching lines...) Expand 10 before | Expand all | Expand 10 after
848 int64 largest_changestamp_; 849 int64 largest_changestamp_;
849 ScopedVector<InstalledApp> installed_apps_; 850 ScopedVector<InstalledApp> installed_apps_;
850 851
851 DISALLOW_COPY_AND_ASSIGN(AccountMetadataFeed); 852 DISALLOW_COPY_AND_ASSIGN(AccountMetadataFeed);
852 }; 853 };
853 854
854 855
855 } // namespace google_apis 856 } // namespace google_apis
856 857
857 #endif // CHROME_BROWSER_GOOGLE_APIS_GDATA_WAPI_PARSER_H_ 858 #endif // CHROME_BROWSER_GOOGLE_APIS_GDATA_WAPI_PARSER_H_
OLDNEW
« no previous file with comments | « chrome/browser/google_apis/fake_drive_service_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698