| 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:
|
| // --------------------------------------------
|
|
|