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

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

Issue 1786263002: Remove uses of ENABLE_CONFIGURATION_POLICY from src/chrome. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: sort Created 4 years, 9 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
« no previous file with comments | « chrome/test/base/testing_browser_process.cc ('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 #include <utility> 9 #include <utility>
10 #include <vector> 10 #include <vector>
(...skipping 389 matching lines...) Expand 10 before | Expand all | Expand 10 after
400 400
401 // We keep a weak pointer to the dependency manager we want to notify on our 401 // We keep a weak pointer to the dependency manager we want to notify on our
402 // death. Defaults to the Singleton implementation but overridable for 402 // death. Defaults to the Singleton implementation but overridable for
403 // testing. 403 // testing.
404 BrowserContextDependencyManager* browser_context_dependency_manager_; 404 BrowserContextDependencyManager* browser_context_dependency_manager_;
405 405
406 // Owned, but must be deleted on the IO thread so not placing in a 406 // Owned, but must be deleted on the IO thread so not placing in a
407 // scoped_ptr<>. 407 // scoped_ptr<>.
408 content::MockResourceContext* resource_context_; 408 content::MockResourceContext* resource_context_;
409 409
410 #if defined(ENABLE_CONFIGURATION_POLICY)
411 scoped_ptr<policy::SchemaRegistryService> schema_registry_service_; 410 scoped_ptr<policy::SchemaRegistryService> schema_registry_service_;
412 #endif
413 scoped_ptr<policy::ProfilePolicyConnector> profile_policy_connector_; 411 scoped_ptr<policy::ProfilePolicyConnector> profile_policy_connector_;
414 412
415 // Weak pointer to a delegate for indicating that a profile was created. 413 // Weak pointer to a delegate for indicating that a profile was created.
416 Delegate* delegate_; 414 Delegate* delegate_;
417 415
418 std::string profile_name_; 416 std::string profile_name_;
419 417
420 scoped_ptr<policy::PolicyService> policy_service_; 418 scoped_ptr<policy::PolicyService> policy_service_;
421 }; 419 };
422 420
423 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_ 421 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_
OLDNEW
« no previous file with comments | « chrome/test/base/testing_browser_process.cc ('k') | chrome/test/base/testing_profile.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698