Index: chrome/browser/policy/cloud/component_cloud_policy_browsertest.cc |
diff --git a/chrome/browser/policy/cloud/component_cloud_policy_browsertest.cc b/chrome/browser/policy/cloud/component_cloud_policy_browsertest.cc |
index be4e021c0de80aed53d8db63695f35c3d6935e79..e0fb8a5cdd17b029c38995717e0bb8c36763801a 100644 |
--- a/chrome/browser/policy/cloud/component_cloud_policy_browsertest.cc |
+++ b/chrome/browser/policy/cloud/component_cloud_policy_browsertest.cc |
@@ -51,18 +51,13 @@ namespace em = enterprise_management; |
namespace policy { |
-namespace { |
- |
const char kDMToken[] = "dmtoken"; |
const char kDeviceID[] = "deviceid"; |
const char kTestExtension[] = "kjmkgkdkpedkejedfhmfcenooemhbpbo"; |
-const char kTestExtension2[] = "behllobkkfkfnphdnhnkndlbkcpglgmj"; |
const base::FilePath::CharType kTestExtensionPath[] = |
FILE_PATH_LITERAL("extensions/managed_extension"); |
-const base::FilePath::CharType kTestExtension2Path[] = |
- FILE_PATH_LITERAL("extensions/managed_extension2"); |
const char kTestPolicy[] = |
"{" |
@@ -71,6 +66,11 @@ const char kTestPolicy[] = |
" }" |
"}"; |
+#if defined(OS_CHROMEOS) |
+const char kTestExtension2[] = "behllobkkfkfnphdnhnkndlbkcpglgmj"; |
+const base::FilePath::CharType kTestExtension2Path[] = |
+ FILE_PATH_LITERAL("extensions/managed_extension2"); |
+ |
const char kTestPolicyJSON[] = "{\"Name\":\"disable_all_the_things\"}"; |
const char kTestPolicy2[] = |
@@ -81,8 +81,7 @@ const char kTestPolicy2[] = |
"}"; |
const char kTestPolicy2JSON[] = "{\"Another\":\"turn_it_off\"}"; |
- |
-} // namespace |
+#endif // defined(OS_CHROMEOS) |
class ComponentCloudPolicyTest : public ExtensionBrowserTest { |
protected: |