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_CHROMEOS_DRIVE_DRIVE_APP_REGISTRY_H_ | 5 #ifndef CHROME_BROWSER_DRIVE_DRIVE_APP_REGISTRY_H_ |
6 #define CHROME_BROWSER_CHROMEOS_DRIVE_DRIVE_APP_REGISTRY_H_ | 6 #define CHROME_BROWSER_DRIVE_DRIVE_APP_REGISTRY_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/files/file_path.h" | 12 #include "base/files/file_path.h" |
13 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
14 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
15 #include "google_apis/drive/gdata_errorcode.h" | 15 #include "google_apis/drive/gdata_errorcode.h" |
16 #include "google_apis/drive/gdata_wapi_parser.h" | 16 #include "google_apis/drive/gdata_wapi_parser.h" |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
104 // smaller than the preferred size, we'll return the largest one available. | 104 // smaller than the preferred size, we'll return the largest one available. |
105 // Icons do not have to be sorted by the icon size. If there are no icons in | 105 // Icons do not have to be sorted by the icon size. If there are no icons in |
106 // the list, returns an empty URL. | 106 // the list, returns an empty URL. |
107 GURL FindPreferredIcon(const google_apis::InstalledApp::IconList& icons, | 107 GURL FindPreferredIcon(const google_apis::InstalledApp::IconList& icons, |
108 int preferred_size); | 108 int preferred_size); |
109 | 109 |
110 } // namespace util | 110 } // namespace util |
111 | 111 |
112 } // namespace drive | 112 } // namespace drive |
113 | 113 |
114 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_DRIVE_APP_REGISTRY_H_ | 114 #endif // CHROME_BROWSER_DRIVE_DRIVE_APP_REGISTRY_H_ |
OLD | NEW |