OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 COMPONENTS_DRIVE_DRIVE_APP_REGISTRY_H_ | 5 #ifndef COMPONENTS_DRIVE_DRIVE_APP_REGISTRY_H_ |
6 #define COMPONENTS_DRIVE_DRIVE_APP_REGISTRY_H_ | 6 #define COMPONENTS_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/callback_forward.h" | 12 #include "base/callback_forward.h" |
13 #include "base/files/file_path.h" | 13 #include "base/files/file_path.h" |
| 14 #include "base/macros.h" |
14 #include "base/memory/scoped_ptr.h" | 15 #include "base/memory/scoped_ptr.h" |
15 #include "base/memory/weak_ptr.h" | 16 #include "base/memory/weak_ptr.h" |
16 #include "base/observer_list.h" | 17 #include "base/observer_list.h" |
17 #include "base/threading/thread_checker.h" | 18 #include "base/threading/thread_checker.h" |
18 #include "google_apis/drive/drive_api_error_codes.h" | 19 #include "google_apis/drive/drive_api_error_codes.h" |
19 #include "url/gurl.h" | 20 #include "url/gurl.h" |
20 | 21 |
21 namespace google_apis { | 22 namespace google_apis { |
22 class AppList; | 23 class AppList; |
23 } // namespace google_apis | 24 } // namespace google_apis |
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
151 // Icons do not have to be sorted by the icon size. If there are no icons in | 152 // Icons do not have to be sorted by the icon size. If there are no icons in |
152 // the list, returns an empty URL. | 153 // the list, returns an empty URL. |
153 GURL FindPreferredIcon(const DriveAppInfo::IconList& icons, | 154 GURL FindPreferredIcon(const DriveAppInfo::IconList& icons, |
154 int preferred_size); | 155 int preferred_size); |
155 | 156 |
156 } // namespace util | 157 } // namespace util |
157 | 158 |
158 } // namespace drive | 159 } // namespace drive |
159 | 160 |
160 #endif // COMPONENTS_DRIVE_DRIVE_APP_REGISTRY_H_ | 161 #endif // COMPONENTS_DRIVE_DRIVE_APP_REGISTRY_H_ |
OLD | NEW |