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

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

Issue 11238034: Added completion notification to Profile's ClearNetworkingHistorySince. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed nits, the important question remains. Created 8 years, 2 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
diff --git a/chrome/browser/profiles/profile_io_data.h b/chrome/browser/profiles/profile_io_data.h
index 65a94f6b17a34114cf390b1a153695cc3d7d67ca..33cc9fa9a5f8ccdeabc68aa46c2ebd21e55d1887 100644
--- a/chrome/browser/profiles/profile_io_data.h
+++ b/chrome/browser/profiles/profile_io_data.h
@@ -286,6 +286,8 @@ class ProfileIOData {
net::HttpNetworkSession::Params* params) const;
private:
+ friend class ProfileImplIOData;
+
class ResourceContext : public content::ResourceContext {
public:
explicit ResourceContext(ProfileIOData* io_data);
@@ -309,6 +311,11 @@ class ProfileIOData {
typedef base::hash_map<std::string, ChromeURLRequestContext*>
URLRequestContextMap;
+ // Sets up a skeleton instance to be used by TestingProfile in unit tests.
+ // Gets the object into a virtually initialized state, but skips most of the
+ // usual initialization steps, and only creates what is needed for testing.
+ void InitForTesting();
+
// --------------------------------------------
// Virtual interface for subtypes to implement:
// --------------------------------------------

Powered by Google App Engine
This is Rietveld 408576698