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

Unified Diff: chrome/browser/profiles/profile_io_data.h

Issue 124113003: Remove calls of PrerenderTracker::TryCancel and TryCancelOnIOThread in ChromeResourceDispatcherHost… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: simplify Created 6 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/profiles/profile_io_data.h
===================================================================
--- chrome/browser/profiles/profile_io_data.h (revision 243099)
+++ chrome/browser/profiles/profile_io_data.h (working copy)
@@ -208,6 +208,11 @@
// should only be called from there.
bool GetMetricsEnabledStateOnIOThread() const;
+ void set_client_cert_store_factory_for_testing(
+ const base::Callback<scoped_ptr<net::ClientCertStore>()>& factory) {
+ client_cert_store_factory_ = factory;
+ }
+
protected:
// A URLRequestContext for media that owns its HTTP factory, to ensure
// it is deleted.
@@ -452,6 +457,10 @@
// Provides access to the email addresses of all signed in profiles.
mutable scoped_ptr<SigninNamesOnIOThread> signin_names_;
+ // Used for testing.
+ mutable base::Callback<scoped_ptr<net::ClientCertStore>()>
+ client_cert_store_factory_;
+
mutable StringPrefMember google_services_user_account_id_;
mutable StringPrefMember google_services_username_;
mutable StringPrefMember google_services_username_pattern_;

Powered by Google App Engine
This is Rietveld 408576698