Transfer Password sync to use new sync API.
[chromium-blink-merge.git] / chrome / common / web_application_info.h
blob1c5c103971174f7542849248ee3496d5492f7ed8
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
3 // found in the LICENSE file.
5 #ifndef CHROME_COMMON_WEB_APPLICATION_INFO_H_
6 #define CHROME_COMMON_WEB_APPLICATION_INFO_H_
8 #include <string>
9 #include <vector>
11 #include "base/strings/string16.h"
12 #include "third_party/skia/include/core/SkBitmap.h"
13 #include "ui/gfx/size.h"
14 #include "url/gurl.h"
16 // Structure used when installing a web page as an app.
17 struct WebApplicationInfo {
18 struct IconInfo {
19 IconInfo();
20 ~IconInfo();
22 GURL url;
23 int width;
24 int height;
25 SkBitmap data;
28 WebApplicationInfo();
29 ~WebApplicationInfo();
31 // Title of the application.
32 base::string16 title;
34 // Description of the application.
35 base::string16 description;
37 // The launch URL for the app.
38 GURL app_url;
40 // Set of available icons.
41 std::vector<IconInfo> icons;
44 #endif // CHROME_COMMON_WEB_APPLICATION_INFO_H_