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

Side by Side Diff: chrome/browser/profiles/profile_io_data.h

Issue 2041863002: Remove HttpServerProperies::GetWeakPtr(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_ 5 #ifndef CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_
6 #define CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_ 6 #define CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 368 matching lines...) Expand 10 before | Expand all | Expand 10 after
379 net::ChannelIDService* channel_id_service) const; 379 net::ChannelIDService* channel_id_service) const;
380 380
381 void set_data_reduction_proxy_io_data( 381 void set_data_reduction_proxy_io_data(
382 std::unique_ptr<data_reduction_proxy::DataReductionProxyIOData> 382 std::unique_ptr<data_reduction_proxy::DataReductionProxyIOData>
383 data_reduction_proxy_io_data) const; 383 data_reduction_proxy_io_data) const;
384 384
385 net::ProxyService* proxy_service() const { 385 net::ProxyService* proxy_service() const {
386 return proxy_service_.get(); 386 return proxy_service_.get();
387 } 387 }
388 388
389 base::WeakPtr<net::HttpServerProperties> http_server_properties() const; 389 net::HttpServerProperties* http_server_properties() const;
390 390
391 void set_http_server_properties( 391 void set_http_server_properties(
392 std::unique_ptr<net::HttpServerProperties> http_server_properties) const; 392 std::unique_ptr<net::HttpServerProperties> http_server_properties) const;
393 393
394 net::URLRequestContext* main_request_context() const { 394 net::URLRequestContext* main_request_context() const {
395 return main_request_context_.get(); 395 return main_request_context_.get();
396 } 396 }
397 397
398 bool initialized() const { 398 bool initialized() const {
399 return initialized_; 399 return initialized_;
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after
617 mutable std::unique_ptr<certificate_transparency::TreeStateTracker> 617 mutable std::unique_ptr<certificate_transparency::TreeStateTracker>
618 ct_tree_tracker_; 618 ct_tree_tracker_;
619 mutable base::Closure ct_tree_tracker_unregistration_; 619 mutable base::Closure ct_tree_tracker_unregistration_;
620 620
621 const Profile::ProfileType profile_type_; 621 const Profile::ProfileType profile_type_;
622 622
623 DISALLOW_COPY_AND_ASSIGN(ProfileIOData); 623 DISALLOW_COPY_AND_ASSIGN(ProfileIOData);
624 }; 624 };
625 625
626 #endif // CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_ 626 #endif // CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698