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

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

Issue 1861593005: Convert //ios from scoped_ptr to std::unique_ptr. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase? Created 4 years, 8 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 #include <stddef.h> 9 #include <stddef.h>
10
11 #include <memory>
10 #include <string> 12 #include <string>
11 #include <vector> 13 #include <vector>
12 14
13 #include "base/callback_forward.h" 15 #include "base/callback_forward.h"
14 #include "base/memory/ref_counted.h" 16 #include "base/memory/ref_counted.h"
15 #include "base/memory/scoped_ptr.h"
16 #include "components/favicon_base/favicon_callback.h" 17 #include "components/favicon_base/favicon_callback.h"
17 18
18 class AutocompleteProvider; 19 class AutocompleteProvider;
19 class GURL; 20 class GURL;
20 class InfoBarViewDelegate; 21 class InfoBarViewDelegate;
21 class PrefRegistrySimple; 22 class PrefRegistrySimple;
22 class PrefService; 23 class PrefService;
23 class ProfileOAuth2TokenServiceIOSProvider; 24 class ProfileOAuth2TokenServiceIOSProvider;
24 25
25 namespace autofill { 26 namespace autofill {
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 ChromeBrowserState* browser_state, 108 ChromeBrowserState* browser_state,
108 const GURL& page_url, 109 const GURL& page_url,
109 const std::vector<int>& desired_sizes_in_pixel, 110 const std::vector<int>& desired_sizes_in_pixel,
110 const favicon_base::FaviconResultsCallback& callback) const; 111 const favicon_base::FaviconResultsCallback& callback) const;
111 112
112 // Returns whether safe browsing is enabled. See the comment on 113 // Returns whether safe browsing is enabled. See the comment on
113 // metrics_services_manager_client.h for details on |on_update_callback|. 114 // metrics_services_manager_client.h for details on |on_update_callback|.
114 virtual bool IsSafeBrowsingEnabled(const base::Closure& on_update_callback); 115 virtual bool IsSafeBrowsingEnabled(const base::Closure& on_update_callback);
115 116
116 // Returns the SyncedWindowDelegatesGetter implementation. 117 // Returns the SyncedWindowDelegatesGetter implementation.
117 virtual scoped_ptr<browser_sync::SyncedWindowDelegatesGetter> 118 virtual std::unique_ptr<browser_sync::SyncedWindowDelegatesGetter>
118 CreateSyncedWindowDelegatesGetter(ios::ChromeBrowserState* browser_state); 119 CreateSyncedWindowDelegatesGetter(ios::ChromeBrowserState* browser_state);
119 }; 120 };
120 121
121 } // namespace ios 122 } // namespace ios
122 123
123 #endif // IOS_PUBLIC_PROVIDER_CHROME_BROWSER_CHROME_BROWSER_PROVIDER_H_ 124 #endif // IOS_PUBLIC_PROVIDER_CHROME_BROWSER_CHROME_BROWSER_PROVIDER_H_
OLDNEW
« no previous file with comments | « ios/net/protocol_handler_util_unittest.mm ('k') | ios/public/provider/chrome/browser/chrome_browser_provider.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698