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

Side by Side Diff: ios/chrome/browser/downstream_chromium_browser_provider.h

Issue 2609363003: Remove ChromeBrowserProvider::GetFaviconForURL(). (Closed)
Patch Set: Created 3 years, 11 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 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 IOS_CHROME_BROWSER_DOWNSTREAM_CHROMIUM_BROWSER_PROVIDER_H_ 5 #ifndef IOS_CHROME_BROWSER_DOWNSTREAM_CHROMIUM_BROWSER_PROVIDER_H_
6 #define IOS_CHROME_BROWSER_DOWNSTREAM_CHROMIUM_BROWSER_PROVIDER_H_ 6 #define IOS_CHROME_BROWSER_DOWNSTREAM_CHROMIUM_BROWSER_PROVIDER_H_
7 7
8 #include "ios/chrome/browser/providers/chromium_browser_provider.h" 8 #include "ios/chrome/browser/providers/chromium_browser_provider.h"
9 9
10 // DownstreamChromiumBrowserProvider contains provider implementations that will 10 // DownstreamChromiumBrowserProvider contains provider implementations that will
11 // eventually move into the upstream ChromiumBrowserProvider, but currently 11 // eventually move into the upstream ChromiumBrowserProvider, but currently
12 // cannot move because they have internal dependencies. 12 // cannot move because they have internal dependencies.
13 class DownstreamChromiumBrowserProvider : public ChromiumBrowserProvider { 13 class DownstreamChromiumBrowserProvider : public ChromiumBrowserProvider {
14 public: 14 public:
15 DownstreamChromiumBrowserProvider(); 15 DownstreamChromiumBrowserProvider();
16 ~DownstreamChromiumBrowserProvider() override; 16 ~DownstreamChromiumBrowserProvider() override;
17 17
18 private: 18 private:
19 // ChromeBrowserProvider implementations. All of these will move upstream 19 // ChromeBrowserProvider implementations. All of these will move upstream
20 // into ChromiumBrowserProvider eventually, and from there callers will be 20 // into ChromiumBrowserProvider eventually, and from there callers will be
21 // converted to not go through the provider API at all. 21 // converted to not go through the provider API at all.
22 void GetFaviconForURL(
23 ios::ChromeBrowserState* browser_state,
24 const GURL& page_url,
25 const std::vector<int>& desired_sizes_in_pixel,
26 const favicon_base::FaviconResultsCallback& callback) const override;
27 std::unique_ptr<sync_sessions::SyncedWindowDelegatesGetter> 22 std::unique_ptr<sync_sessions::SyncedWindowDelegatesGetter>
28 CreateSyncedWindowDelegatesGetter( 23 CreateSyncedWindowDelegatesGetter(
29 ios::ChromeBrowserState* browser_state) override; 24 ios::ChromeBrowserState* browser_state) override;
30 25
31 DISALLOW_COPY_AND_ASSIGN(DownstreamChromiumBrowserProvider); 26 DISALLOW_COPY_AND_ASSIGN(DownstreamChromiumBrowserProvider);
32 }; 27 };
33 28
34 #endif // IOS_CHROME_BROWSER_DOWNSTREAM_CHROMIUM_BROWSER_PROVIDER_H_ 29 #endif // IOS_CHROME_BROWSER_DOWNSTREAM_CHROMIUM_BROWSER_PROVIDER_H_
OLDNEW
« no previous file with comments | « no previous file | ios/chrome/browser/downstream_chromium_browser_provider.mm » ('j') | ios/chrome/browser/favicon/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698