| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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_ |
| OLD | NEW |