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

Side by Side Diff: components/password_manager/core/browser/affiliation_fetcher.h

Issue 1852093002: components/password_manager: scoped_ptr -> unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase and revert an accidental .proto change 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_AFFILIATION_FETCHER_H_ 5 #ifndef COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_AFFILIATION_FETCHER_H_
6 #define COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_AFFILIATION_FETCHER_H_ 6 #define COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_AFFILIATION_FETCHER_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 // Unknown kinds of facet URIs and new protocol buffer fields will be ignored. 82 // Unknown kinds of facet URIs and new protocol buffer fields will be ignored.
83 bool ParseResponse(AffiliationFetcherDelegate::Result* result) const; 83 bool ParseResponse(AffiliationFetcherDelegate::Result* result) const;
84 84
85 // net::URLFetcherDelegate: 85 // net::URLFetcherDelegate:
86 void OnURLFetchComplete(const net::URLFetcher* source) override; 86 void OnURLFetchComplete(const net::URLFetcher* source) override;
87 87
88 const scoped_refptr<net::URLRequestContextGetter> request_context_getter_; 88 const scoped_refptr<net::URLRequestContextGetter> request_context_getter_;
89 const std::vector<FacetURI> requested_facet_uris_; 89 const std::vector<FacetURI> requested_facet_uris_;
90 AffiliationFetcherDelegate* const delegate_; 90 AffiliationFetcherDelegate* const delegate_;
91 91
92 scoped_ptr<net::URLFetcher> fetcher_; 92 std::unique_ptr<net::URLFetcher> fetcher_;
93 93
94 DISALLOW_COPY_AND_ASSIGN(AffiliationFetcher); 94 DISALLOW_COPY_AND_ASSIGN(AffiliationFetcher);
95 }; 95 };
96 96
97 } // namespace password_manager 97 } // namespace password_manager
98 98
99 #endif // COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_AFFILIATION_FETCHER_H_ 99 #endif // COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_AFFILIATION_FETCHER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698