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

Side by Side Diff: ios/public/provider/chrome/browser/chrome_browser_provider.h

Issue 1260033003: Partially componentize //chrome/browser/search/search.{h,cc} (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix compilation on iOS Created 5 years, 4 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_PUBLIC_PROVIDER_CHROME_BROWSER_CHROME_BROWSER_PROVIDER_H_ 5 #ifndef IOS_PUBLIC_PROVIDER_CHROME_BROWSER_CHROME_BROWSER_PROVIDER_H_
6 #define IOS_PUBLIC_PROVIDER_CHROME_BROWSER_CHROME_BROWSER_PROVIDER_H_ 6 #define IOS_PUBLIC_PROVIDER_CHROME_BROWSER_CHROME_BROWSER_PROVIDER_H_
7 7
8 #include <CoreGraphics/CoreGraphics.h> 8 #include <CoreGraphics/CoreGraphics.h>
9 9
10 #include <string> 10 #include <string>
(...skipping 29 matching lines...) Expand all
40 class InfoBarViewPlaceholderClass; 40 class InfoBarViewPlaceholderClass;
41 typedef InfoBarViewPlaceholderClass* InfoBarViewPlaceholder; 41 typedef InfoBarViewPlaceholderClass* InfoBarViewPlaceholder;
42 class UIView; 42 class UIView;
43 #endif 43 #endif
44 44
45 namespace ios { 45 namespace ios {
46 46
47 class ChromeBrowserProvider; 47 class ChromeBrowserProvider;
48 class ChromeBrowserStateManager; 48 class ChromeBrowserStateManager;
49 class GeolocationUpdaterProvider; 49 class GeolocationUpdaterProvider;
50 class SearchProvider;
51 class StringProvider; 50 class StringProvider;
52 class UpdatableResourceProvider; 51 class UpdatableResourceProvider;
53 52
54 // Setter and getter for the provider. The provider should be set early, before 53 // Setter and getter for the provider. The provider should be set early, before
55 // any browser code is called. 54 // any browser code is called.
56 void SetChromeBrowserProvider(ChromeBrowserProvider* provider); 55 void SetChromeBrowserProvider(ChromeBrowserProvider* provider);
57 ChromeBrowserProvider* GetChromeBrowserProvider(); 56 ChromeBrowserProvider* GetChromeBrowserProvider();
58 57
59 // A class that allows embedding iOS-specific functionality in the 58 // A class that allows embedding iOS-specific functionality in the
60 // ios_chrome_browser target. 59 // ios_chrome_browser target.
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 // Returns the metrics service. 94 // Returns the metrics service.
96 virtual metrics::MetricsService* GetMetricsService(); 95 virtual metrics::MetricsService* GetMetricsService();
97 // Returns an instance of a CardUnmaskPromptView used to unmask Wallet cards. 96 // Returns an instance of a CardUnmaskPromptView used to unmask Wallet cards.
98 // The view is responsible for its own lifetime. 97 // The view is responsible for its own lifetime.
99 virtual autofill::CardUnmaskPromptView* CreateCardUnmaskPromptView( 98 virtual autofill::CardUnmaskPromptView* CreateCardUnmaskPromptView(
100 autofill::CardUnmaskPromptController* controller); 99 autofill::CardUnmaskPromptController* controller);
101 // Returns risk data used in Wallet requests. 100 // Returns risk data used in Wallet requests.
102 virtual std::string GetRiskData(); 101 virtual std::string GetRiskData();
103 // Returns the RapporService. May be null. 102 // Returns the RapporService. May be null.
104 virtual rappor::RapporService* GetRapporService(); 103 virtual rappor::RapporService* GetRapporService();
105 // Returns the SearchProvider.
106 virtual SearchProvider* GetSearchProvider();
107 }; 104 };
108 105
109 } // namespace ios 106 } // namespace ios
110 107
111 #endif // IOS_PUBLIC_PROVIDER_CHROME_BROWSER_CHROME_BROWSER_PROVIDER_H_ 108 #endif // IOS_PUBLIC_PROVIDER_CHROME_BROWSER_CHROME_BROWSER_PROVIDER_H_
OLDNEW
« no previous file with comments | « ios/provider/ios_provider_chrome.gyp ('k') | ios/public/provider/chrome/browser/chrome_browser_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698