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

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

Issue 15932010: drive: Rename DriveWebApp* to DriveApp (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address comments Created 7 years, 6 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
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_DRIVE_API_PARSER_H_ 5 #ifndef CHROME_BROWSER_GOOGLE_APIS_DRIVE_API_PARSER_H_
6 #define CHROME_BROWSER_GOOGLE_APIS_DRIVE_API_PARSER_H_ 6 #define CHROME_BROWSER_GOOGLE_APIS_DRIVE_API_PARSER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 91
92 int64 largest_change_id_; 92 int64 largest_change_id_;
93 int64 quota_bytes_total_; 93 int64 quota_bytes_total_;
94 int64 quota_bytes_used_; 94 int64 quota_bytes_used_;
95 std::string root_folder_id_; 95 std::string root_folder_id_;
96 96
97 DISALLOW_COPY_AND_ASSIGN(AboutResource); 97 DISALLOW_COPY_AND_ASSIGN(AboutResource);
98 }; 98 };
99 99
100 // DriveAppIcon represents an icon for Drive Application. 100 // DriveAppIcon represents an icon for Drive Application.
101 // https://developers.google.com/drive/v2/reference/apps/list 101 // https://developers.google.com/drive/v2/reference/apps
102 class DriveAppIcon { 102 class DriveAppIcon {
103 public: 103 public:
104 enum IconCategory { 104 enum IconCategory {
105 UNKNOWN, // Uninitialized state 105 UNKNOWN, // Uninitialized state.
106 DOCUMENT, // Document icon for various MIME types 106 DOCUMENT, // Icon for a file associated with the app.
107 APPLICATION, // Application icon for various MIME types 107 APPLICATION, // Icon for the application.
108 SHARED_DOCUMENT, // Icon for documents that are shared from other users. 108 SHARED_DOCUMENT, // Icon for a shared file associated with the app.
109 }; 109 };
110 110
111 DriveAppIcon(); 111 DriveAppIcon();
112 ~DriveAppIcon(); 112 ~DriveAppIcon();
113 113
114 // Registers the mapping between JSON field names and the members in this 114 // Registers the mapping between JSON field names and the members in this
115 // class. 115 // class.
116 static void RegisterJSONConverter( 116 static void RegisterJSONConverter(
117 base::JSONValueConverter<DriveAppIcon>* converter); 117 base::JSONValueConverter<DriveAppIcon>* converter);
118 118
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 friend class AppResource; 157 friend class AppResource;
158 158
159 IconCategory category_; 159 IconCategory category_;
160 int icon_side_length_; 160 int icon_side_length_;
161 GURL icon_url_; 161 GURL icon_url_;
162 162
163 DISALLOW_COPY_AND_ASSIGN(DriveAppIcon); 163 DISALLOW_COPY_AND_ASSIGN(DriveAppIcon);
164 }; 164 };
165 165
166 // AppResource represents a Drive Application. 166 // AppResource represents a Drive Application.
167 // https://developers.google.com/drive/v2/reference/apps/list 167 // https://developers.google.com/drive/v2/reference/apps
168 class AppResource { 168 class AppResource {
169 public: 169 public:
170 ~AppResource(); 170 ~AppResource();
171 AppResource(); 171 AppResource();
172 172
173 // Registers the mapping between JSON field names and the members in this 173 // Registers the mapping between JSON field names and the members in this
174 // class. 174 // class.
175 static void RegisterJSONConverter( 175 static void RegisterJSONConverter(
176 base::JSONValueConverter<AppResource>* converter); 176 base::JSONValueConverter<AppResource>* converter);
177 177
(...skipping 645 matching lines...) Expand 10 before | Expand all | Expand 10 after
823 GURL next_link_; 823 GURL next_link_;
824 int64 largest_change_id_; 824 int64 largest_change_id_;
825 ScopedVector<ChangeResource> items_; 825 ScopedVector<ChangeResource> items_;
826 826
827 DISALLOW_COPY_AND_ASSIGN(ChangeList); 827 DISALLOW_COPY_AND_ASSIGN(ChangeList);
828 }; 828 };
829 829
830 } // namespace google_apis 830 } // namespace google_apis
831 831
832 #endif // CHROME_BROWSER_GOOGLE_APIS_DRIVE_API_PARSER_H_ 832 #endif // CHROME_BROWSER_GOOGLE_APIS_DRIVE_API_PARSER_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/extensions/file_manager/file_browser_private_api.cc ('k') | chrome/chrome_browser_chromeos.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698