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

Unified Diff: chrome/browser/policy/cloud/component_cloud_policy_browsertest.cc

Issue 24579003: Clean up remaining unused globals (on mac). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: staticmedia Created 7 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/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:

Powered by Google App Engine
This is Rietveld 408576698