Index: chrome/browser/prefs/command_line_pref_store_unittest.cc |
diff --git a/chrome/browser/prefs/command_line_pref_store_unittest.cc b/chrome/browser/prefs/command_line_pref_store_unittest.cc |
index ecb81d2e6915280853f13ba1f9a3860f6085a321..6a78e862b05aa3fd3eb93050be23fbb6ef71ff0a 100644 |
--- a/chrome/browser/prefs/command_line_pref_store_unittest.cc |
+++ b/chrome/browser/prefs/command_line_pref_store_unittest.cc |
@@ -16,6 +16,11 @@ |
namespace { |
+const char unknown_bool[] = "unknown_switch"; |
+const char unknown_string[] = "unknown_other_switch"; |
+ |
+} // namespace |
+ |
class TestCommandLinePrefStore : public CommandLinePrefStore { |
public: |
explicit TestCommandLinePrefStore(CommandLine* cl) |
@@ -51,12 +56,10 @@ class TestCommandLinePrefStore : public CommandLinePrefStore { |
EXPECT_EQ(*ciphers, cipher_string); |
} |
} |
-}; |
-const char unknown_bool[] = "unknown_switch"; |
-const char unknown_string[] = "unknown_other_switch"; |
- |
-} // namespace |
+ private: |
+ virtual ~TestCommandLinePrefStore() {} |
+}; |
// Tests a simple string pref on the command line. |
TEST(CommandLinePrefStoreTest, SimpleStringPref) { |