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 #include "chrome/browser/chromeos/gdata/drive_webapps_registry.h" | 5 #include "chrome/browser/chromeos/gdata/drive_webapps_registry.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/string_util.h" | 10 #include "base/string_util.h" |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 document_icons(document_icons), | 59 document_icons(document_icons), |
60 web_store_id(web_store_id), | 60 web_store_id(web_store_id), |
61 app_name(app_name), | 61 app_name(app_name), |
62 object_type(object_type), | 62 object_type(object_type), |
63 is_primary_selector(is_primary_selector) { | 63 is_primary_selector(is_primary_selector) { |
64 } | 64 } |
65 | 65 |
66 DriveWebAppInfo::~DriveWebAppInfo() { | 66 DriveWebAppInfo::~DriveWebAppInfo() { |
67 } | 67 } |
68 | 68 |
69 // GDataFileSystem::WebAppFileSelector struct implementation. | 69 // DriveFileSystem::WebAppFileSelector struct implementation. |
70 | 70 |
71 DriveWebAppsRegistry::WebAppFileSelector::WebAppFileSelector( | 71 DriveWebAppsRegistry::WebAppFileSelector::WebAppFileSelector( |
72 const GURL& product_link, | 72 const GURL& product_link, |
73 const InstalledApp::IconList& app_icons, | 73 const InstalledApp::IconList& app_icons, |
74 const InstalledApp::IconList& document_icons, | 74 const InstalledApp::IconList& document_icons, |
75 const string16& object_type, | 75 const string16& object_type, |
76 const std::string& app_id, | 76 const std::string& app_id, |
77 bool is_primary_selector) | 77 bool is_primary_selector) |
78 : product_link(product_link), | 78 : product_link(product_link), |
79 app_icons(app_icons), | 79 app_icons(app_icons), |
(...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
326 web_app->app_icons, | 326 web_app->app_icons, |
327 web_app->document_icons, | 327 web_app->document_icons, |
328 web_store_id, | 328 web_store_id, |
329 product_iter->second, // app name. | 329 product_iter->second, // app name. |
330 web_app->object_type, | 330 web_app->object_type, |
331 web_app->is_primary_selector))); | 331 web_app->is_primary_selector))); |
332 } | 332 } |
333 } | 333 } |
334 | 334 |
335 } // namespace gdata | 335 } // namespace gdata |
OLD | NEW |