OLD | NEW |
---|---|
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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_ANDROID_WEBAPPS_ADD_TO_HOMESCREEN_MANAGER_H_ | 5 #ifndef CHROME_BROWSER_ANDROID_WEBAPPS_ADD_TO_HOMESCREEN_MANAGER_H_ |
6 #define CHROME_BROWSER_ANDROID_WEBAPPS_ADD_TO_HOMESCREEN_MANAGER_H_ | 6 #define CHROME_BROWSER_ANDROID_WEBAPPS_ADD_TO_HOMESCREEN_MANAGER_H_ |
7 | 7 |
8 #include "base/android/jni_android.h" | 8 #include "base/android/jni_android.h" |
9 #include "base/android/scoped_java_ref.h" | 9 #include "base/android/scoped_java_ref.h" |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
11 #include "chrome/browser/android/webapps/add_to_homescreen_data_fetcher.h" | 11 #include "chrome/browser/android/webapps/add_to_homescreen_data_fetcher.h" |
12 #include "third_party/WebKit/public/platform/modules/installation/installation.m ojom.h" | |
dominickn
2016/12/15 03:45:59
Nit: move this include to the cc file.
Matt Giuca
2016/12/15 06:17:23
Done.
| |
12 | 13 |
13 namespace content { | 14 namespace content { |
14 class WebContents; | 15 class WebContents; |
15 } | 16 } |
16 | 17 |
17 class GURL; | 18 class GURL; |
18 class SkBitmap; | 19 class SkBitmap; |
19 struct ShortcutInfo; | 20 struct ShortcutInfo; |
20 | 21 |
21 // AddToHomescreenManager is the C++ counterpart of | 22 // AddToHomescreenManager is the C++ counterpart of |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
74 // Whether the site is WebAPK-compatible. | 75 // Whether the site is WebAPK-compatible. |
75 bool is_webapk_compatible_; | 76 bool is_webapk_compatible_; |
76 | 77 |
77 // Fetches data required to add a shortcut. | 78 // Fetches data required to add a shortcut. |
78 scoped_refptr<AddToHomescreenDataFetcher> data_fetcher_; | 79 scoped_refptr<AddToHomescreenDataFetcher> data_fetcher_; |
79 | 80 |
80 DISALLOW_COPY_AND_ASSIGN(AddToHomescreenManager); | 81 DISALLOW_COPY_AND_ASSIGN(AddToHomescreenManager); |
81 }; | 82 }; |
82 | 83 |
83 #endif // CHROME_BROWSER_ANDROID_WEBAPPS_ADD_TO_HOMESCREEN_MANAGER_H_ | 84 #endif // CHROME_BROWSER_ANDROID_WEBAPPS_ADD_TO_HOMESCREEN_MANAGER_H_ |
OLD | NEW |