OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_DRIVE_DRIVE_APP_REGISTRY_H_ | 5 #ifndef COMPONENTS_DRIVE_DRIVE_APP_REGISTRY_H_ |
6 #define CHROME_BROWSER_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/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
15 #include "base/memory/weak_ptr.h" | 15 #include "base/memory/weak_ptr.h" |
16 #include "base/observer_list.h" | 16 #include "base/observer_list.h" |
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
150 // smaller than the preferred size, we'll return the largest one available. | 150 // smaller than the preferred size, we'll return the largest one available. |
151 // Icons do not have to be sorted by the icon size. If there are no icons in | 151 // Icons do not have to be sorted by the icon size. If there are no icons in |
152 // the list, returns an empty URL. | 152 // the list, returns an empty URL. |
153 GURL FindPreferredIcon(const DriveAppInfo::IconList& icons, | 153 GURL FindPreferredIcon(const DriveAppInfo::IconList& icons, |
154 int preferred_size); | 154 int preferred_size); |
155 | 155 |
156 } // namespace util | 156 } // namespace util |
157 | 157 |
158 } // namespace drive | 158 } // namespace drive |
159 | 159 |
160 #endif // CHROME_BROWSER_DRIVE_DRIVE_APP_REGISTRY_H_ | 160 #endif // COMPONENTS_DRIVE_DRIVE_APP_REGISTRY_H_ |
OLD | NEW |