Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(375)

Side by Side Diff: ios/chrome/browser/ui/settings/native_apps_collection_view_controller.h

Issue 2731553005: Introduced StoreKitTabHelper class (Closed)
Patch Set: rebase Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2015 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 IOS_CHROME_BROWSER_UI_SETTINGS_NATIVE_APPS_COLLECTION_VIEW_CONTROLLER_H_ 5 #ifndef IOS_CHROME_BROWSER_UI_SETTINGS_NATIVE_APPS_COLLECTION_VIEW_CONTROLLER_H_
6 #define IOS_CHROME_BROWSER_UI_SETTINGS_NATIVE_APPS_COLLECTION_VIEW_CONTROLLER_H_ 6 #define IOS_CHROME_BROWSER_UI_SETTINGS_NATIVE_APPS_COLLECTION_VIEW_CONTROLLER_H_
7 7
8 #import "ios/chrome/browser/storekit_launcher.h" 8 #import "ios/chrome/browser/store_kit/store_kit_launcher.h"
9 #import "ios/chrome/browser/ui/settings/settings_root_collection_view_controller .h" 9 #import "ios/chrome/browser/ui/settings/settings_root_collection_view_controller .h"
10 10
11 namespace net { 11 namespace net {
12 class URLRequestContextGetter; 12 class URLRequestContextGetter;
13 } // namespace net 13 } // namespace net
14 14
15 // Settings view controller that displays the list of native apps that Chrome 15 // Settings view controller that displays the list of native apps that Chrome
16 // can launch given a specific URL. From this view controller, native apps can 16 // can launch given a specific URL. From this view controller, native apps can
17 // be installed if they are not present on the device. If they are present, a 17 // be installed if they are not present on the device. If they are present, a
18 // switch lets the user opt-in to open automatically related links. 18 // switch lets the user opt-in to open automatically related links.
19 // Icons for apps are static resources on a server and are therefore retrieved 19 // Icons for apps are static resources on a server and are therefore retrieved
20 // and displayed asynchronously. 20 // and displayed asynchronously.
21 @interface NativeAppsCollectionViewController 21 @interface NativeAppsCollectionViewController
22 : SettingsRootCollectionViewController<StoreKitLauncher> 22 : SettingsRootCollectionViewController<StoreKitLauncher>
23 23
24 // Designated initializer. |requestContextGetter| is kept as a weak reference, 24 // Designated initializer. |requestContextGetter| is kept as a weak reference,
25 // therefore must outlive the initialized instance. 25 // therefore must outlive the initialized instance.
26 - (id)initWithURLRequestContextGetter: 26 - (id)initWithURLRequestContextGetter:
27 (net::URLRequestContextGetter*)requestContextGetter; 27 (net::URLRequestContextGetter*)requestContextGetter;
28 28
29 @end 29 @end
30 30
31 #endif // IOS_CHROME_BROWSER_UI_SETTINGS_NATIVE_APPS_COLLECTION_VIEW_CONTROLLER _H_ 31 #endif // IOS_CHROME_BROWSER_UI_SETTINGS_NATIVE_APPS_COLLECTION_VIEW_CONTROLLER _H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698