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_GDATA_DRIVE_WEBAPPS_REGISTRY_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_GDATA_DRIVE_WEBAPPS_REGISTRY_H_ |
6 #define CHROME_BROWSER_CHROMEOS_GDATA_DRIVE_WEBAPPS_REGISTRY_H_ | 6 #define CHROME_BROWSER_CHROMEOS_GDATA_DRIVE_WEBAPPS_REGISTRY_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
11 | 11 |
12 #include "base/file_path.h" | 12 #include "base/file_path.h" |
13 #include "base/memory/scoped_vector.h" | 13 #include "base/memory/scoped_vector.h" |
14 #include "chrome/browser/chromeos/gdata/gdata_parser.h" | 14 #include "chrome/browser/chromeos/gdata/gdata_wapi_parser.h" |
15 #include "googleurl/src/gurl.h" | 15 #include "googleurl/src/gurl.h" |
16 | 16 |
17 namespace gdata { | 17 namespace gdata { |
18 | 18 |
19 // Data structure that defines WebApp | 19 // Data structure that defines WebApp |
20 struct DriveWebAppInfo { | 20 struct DriveWebAppInfo { |
21 DriveWebAppInfo(const std::string& app_id, | 21 DriveWebAppInfo(const std::string& app_id, |
22 const InstalledApp::IconList& app_icons, | 22 const InstalledApp::IconList& app_icons, |
23 const InstalledApp::IconList& document_icons, | 23 const InstalledApp::IconList& document_icons, |
24 const std::string& web_store_id, | 24 const std::string& web_store_id, |
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
142 | 142 |
143 // Map of MIME type to application info. | 143 // Map of MIME type to application info. |
144 WebAppFileSelectorMap webapp_mimetypes_map_; | 144 WebAppFileSelectorMap webapp_mimetypes_map_; |
145 | 145 |
146 DISALLOW_COPY_AND_ASSIGN(DriveWebAppsRegistry); | 146 DISALLOW_COPY_AND_ASSIGN(DriveWebAppsRegistry); |
147 }; | 147 }; |
148 | 148 |
149 } // namespace gdata | 149 } // namespace gdata |
150 | 150 |
151 #endif // CHROME_BROWSER_CHROMEOS_GDATA_DRIVE_WEBAPPS_REGISTRY_H_ | 151 #endif // CHROME_BROWSER_CHROMEOS_GDATA_DRIVE_WEBAPPS_REGISTRY_H_ |
OLD | NEW |