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

Unified Diff: chrome/browser/extensions/api/identity/identity_apitest.cc

Issue 2382833002: Rename policy::EnterpriseInstallAttributes to chromeos::InstallAttributes. (Closed)
Patch Set: Add missing #includes. Created 4 years, 3 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/extensions/api/identity/identity_apitest.cc
diff --git a/chrome/browser/extensions/api/identity/identity_apitest.cc b/chrome/browser/extensions/api/identity/identity_apitest.cc
index bd494f04aba4c83b3aa655499606fde6fdbf2c53..06d8037fab1fd1c398788bea5a1fb310bdb374d8 100644
--- a/chrome/browser/extensions/api/identity/identity_apitest.cc
+++ b/chrome/browser/extensions/api/identity/identity_apitest.cc
@@ -19,7 +19,7 @@
#include "chrome/browser/chromeos/login/users/mock_user_manager.h"
#include "chrome/browser/chromeos/login/users/scoped_user_manager_enabler.h"
#include "chrome/browser/chromeos/policy/browser_policy_connector_chromeos.h"
-#include "chrome/browser/chromeos/policy/stub_enterprise_install_attributes.h"
+#include "chrome/browser/chromeos/settings/stub_install_attributes.h"
#include "extensions/common/extension_builder.h"
#endif
#include "chrome/browser/extensions/api/identity/identity_api.h"
@@ -1595,8 +1595,8 @@ class GetAuthTokenFunctionPublicSessionTest : public GetAuthTokenFunctionTest {
// Set up fake install attributes to make the device appeared as
// enterprise-managed.
- std::unique_ptr<policy::StubEnterpriseInstallAttributes> attributes(
- new policy::StubEnterpriseInstallAttributes());
+ std::unique_ptr<chromeos::StubInstallAttributes> attributes
+ = base::MakeUnique<chromeos::StubInstallAttributes>();
attributes->SetDomain("example.com");
attributes->SetRegistrationUser("user@example.com");
policy::BrowserPolicyConnectorChromeOS::SetInstallAttributesForTesting(

Powered by Google App Engine
This is Rietveld 408576698