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

Side by Side Diff: google_apis/drive/drive_api_parser.h

Issue 2747423004: Use Drive v2 API for team drive operations. (Closed)
Patch Set: Created 3 years, 9 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
« no previous file with comments | « no previous file | google_apis/drive/drive_api_url_generator.cc » ('j') | 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 GOOGLE_APIS_DRIVE_DRIVE_API_PARSER_H_ 5 #ifndef GOOGLE_APIS_DRIVE_DRIVE_API_PARSER_H_
6 #define GOOGLE_APIS_DRIVE_DRIVE_API_PARSER_H_ 6 #define GOOGLE_APIS_DRIVE_DRIVE_API_PARSER_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 410 matching lines...) Expand 10 before | Expand all | Expand 10 after
421 421
422 // Parses and initializes data members from content of |value|. 422 // Parses and initializes data members from content of |value|.
423 // Return false if parsing fails. 423 // Return false if parsing fails.
424 bool Parse(const base::Value& value); 424 bool Parse(const base::Value& value);
425 425
426 std::string id_; 426 std::string id_;
427 std::string name_; 427 std::string name_;
428 TeamDriveCapabilities capabilities_; 428 TeamDriveCapabilities capabilities_;
429 }; 429 };
430 430
431
432 // ParentReference represents a directory. 431 // ParentReference represents a directory.
433 // https://developers.google.com/drive/v2/reference/parents 432 // https://developers.google.com/drive/v2/reference/parents
434 class ParentReference { 433 class ParentReference {
435 public: 434 public:
436 ParentReference(); 435 ParentReference();
437 ~ParentReference(); 436 ~ParentReference();
438 437
439 // Registers the mapping between JSON field names and the members in this 438 // Registers the mapping between JSON field names and the members in this
440 // class. 439 // class.
441 static void RegisterJSONConverter( 440 static void RegisterJSONConverter(
(...skipping 417 matching lines...) Expand 10 before | Expand all | Expand 10 after
859 GURL next_link_; 858 GURL next_link_;
860 int64_t largest_change_id_; 859 int64_t largest_change_id_;
861 std::vector<std::unique_ptr<ChangeResource>> items_; 860 std::vector<std::unique_ptr<ChangeResource>> items_;
862 861
863 DISALLOW_COPY_AND_ASSIGN(ChangeList); 862 DISALLOW_COPY_AND_ASSIGN(ChangeList);
864 }; 863 };
865 864
866 } // namespace google_apis 865 } // namespace google_apis
867 866
868 #endif // GOOGLE_APIS_DRIVE_DRIVE_API_PARSER_H_ 867 #endif // GOOGLE_APIS_DRIVE_DRIVE_API_PARSER_H_
OLDNEW
« no previous file with comments | « no previous file | google_apis/drive/drive_api_url_generator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698