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

Side by Side Diff: chrome/browser/chromeos/gdata/gdata_wapi_parser.h

Issue 10911174: Remove const qualifiers from Drive/GData files to avoid compile errors on Mac buildbots (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 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/chromeos/gdata/drive_api_parser.h ('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_CHROMEOS_GDATA_GDATA_WAPI_PARSER_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_GDATA_GDATA_WAPI_PARSER_H_
6 #define CHROME_BROWSER_CHROMEOS_GDATA_GDATA_WAPI_PARSER_H_ 6 #define CHROME_BROWSER_CHROMEOS_GDATA_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 254 matching lines...) Expand 10 before | Expand all | Expand 10 after
265 265
266 // Registers the mapping between JSON field names and the members in 266 // Registers the mapping between JSON field names and the members in
267 // this class. 267 // this class.
268 static void RegisterJSONConverter( 268 static void RegisterJSONConverter(
269 base::JSONValueConverter<AppIcon>* converter); 269 base::JSONValueConverter<AppIcon>* converter);
270 270
271 // Category of the icon. 271 // Category of the icon.
272 IconCategory category() const { return category_; } 272 IconCategory category() const { return category_; }
273 273
274 // Size in pixels of one side of the icon (icons are always square). 274 // Size in pixels of one side of the icon (icons are always square).
275 const int icon_side_length() const { return icon_side_length_; } 275 int icon_side_length() const { return icon_side_length_; }
276 276
277 // Get a list of links available for this AppIcon. 277 // Get a list of links available for this AppIcon.
278 const ScopedVector<Link>& links() const { return links_; } 278 const ScopedVector<Link>& links() const { return links_; }
279 279
280 // Get the icon URL from the internal list of links. Returns the first 280 // Get the icon URL from the internal list of links. Returns the first
281 // icon URL found in the list. 281 // icon URL found in the list.
282 GURL GetIconURL() const; 282 GURL GetIconURL() const;
283 283
284 private: 284 private:
285 // Extracts the icon category from the given string. Returns false and does 285 // Extracts the icon category from the given string. Returns false and does
(...skipping 446 matching lines...) Expand 10 before | Expand all | Expand 10 after
732 int64 largest_changestamp_; 732 int64 largest_changestamp_;
733 ScopedVector<InstalledApp> installed_apps_; 733 ScopedVector<InstalledApp> installed_apps_;
734 734
735 DISALLOW_COPY_AND_ASSIGN(AccountMetadataFeed); 735 DISALLOW_COPY_AND_ASSIGN(AccountMetadataFeed);
736 }; 736 };
737 737
738 738
739 } // namespace gdata 739 } // namespace gdata
740 740
741 #endif // CHROME_BROWSER_CHROMEOS_GDATA_GDATA_WAPI_PARSER_H_ 741 #endif // CHROME_BROWSER_CHROMEOS_GDATA_GDATA_WAPI_PARSER_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/gdata/drive_api_parser.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698