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

Side by Side Diff: chrome/test/base/testing_profile.h

Issue 16018004: Clean up after moving ProfileKeyedService files to a component. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/signin/DEPS ('k') | chrome/test/base/testing_profile.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_TEST_BASE_TESTING_PROFILE_H_ 5 #ifndef CHROME_TEST_BASE_TESTING_PROFILE_H_
6 #define CHROME_TEST_BASE_TESTING_PROFILE_H_ 6 #define CHROME_TEST_BASE_TESTING_PROFILE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/files/scoped_temp_dir.h" 10 #include "base/files/scoped_temp_dir.h"
(...skipping 325 matching lines...) Expand 10 before | Expand all | Expand 10 after
336 // profile environment, this is invalid and the directory is managed by the 336 // profile environment, this is invalid and the directory is managed by the
337 // TestingProfileManager. 337 // TestingProfileManager.
338 base::ScopedTempDir temp_dir_; 338 base::ScopedTempDir temp_dir_;
339 // The path to this profile. This will be valid in either of the two above 339 // The path to this profile. This will be valid in either of the two above
340 // cases. 340 // cases.
341 base::FilePath profile_path_; 341 base::FilePath profile_path_;
342 342
343 // We keep a weak pointer to the dependency manager we want to notify on our 343 // We keep a weak pointer to the dependency manager we want to notify on our
344 // death. Defaults to the Singleton implementation but overridable for 344 // death. Defaults to the Singleton implementation but overridable for
345 // testing. 345 // testing.
346 BrowserContextDependencyManager* profile_dependency_manager_; 346 BrowserContextDependencyManager* browser_context_dependency_manager_;
347 347
348 scoped_ptr<content::MockResourceContext> resource_context_; 348 scoped_ptr<content::MockResourceContext> resource_context_;
349 349
350 scoped_ptr<policy::ProfilePolicyConnector> profile_policy_connector_; 350 scoped_ptr<policy::ProfilePolicyConnector> profile_policy_connector_;
351 351
352 // Weak pointer to a delegate for indicating that a profile was created. 352 // Weak pointer to a delegate for indicating that a profile was created.
353 Delegate* delegate_; 353 Delegate* delegate_;
354 }; 354 };
355 355
356 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_ 356 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_
OLDNEW
« no previous file with comments | « chrome/browser/signin/DEPS ('k') | chrome/test/base/testing_profile.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698