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

Unified Diff: base/test/test_reg_util_win.h

Issue 93903011: Remove 'using base::string16;' from base/strings/string16.h and remove temporary (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: asdf Created 7 years 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
« no previous file with comments | « base/test/test_process_killer_win.cc ('k') | base/test/test_reg_util_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/test/test_reg_util_win.h
diff --git a/base/test/test_reg_util_win.h b/base/test/test_reg_util_win.h
index 5315b669af40a66dd5648168a350ec9c7e3a63c1..6ef6096d355b8ae30f71371810d0595af9072fdc 100644
--- a/base/test/test_reg_util_win.h
+++ b/base/test/test_reg_util_win.h
@@ -38,7 +38,7 @@ class RegistryOverrideManager {
// under the temporary test key path. There is no need to randomize
// |override_name|, as a random parent key is generated. Multiple overrides to
// the same hive are not supported and lead to undefined behavior.
- void OverrideRegistry(HKEY override, const string16& override_name);
+ void OverrideRegistry(HKEY override, const base::string16& override_name);
private:
friend class RegistryOverrideManagerTest;
@@ -46,7 +46,7 @@ class RegistryOverrideManager {
// Keeps track of one override.
class ScopedRegistryKeyOverride {
public:
- ScopedRegistryKeyOverride(HKEY override, const string16& key_path);
+ ScopedRegistryKeyOverride(HKEY override, const base::string16& key_path);
~ScopedRegistryKeyOverride();
private:
@@ -58,12 +58,12 @@ class RegistryOverrideManager {
// Used for testing only.
RegistryOverrideManager(const base::Time& timestamp,
- const string16& test_key_root);
+ const base::string16& test_key_root);
base::Time timestamp_;
- string16 guid_;
+ base::string16 guid_;
- string16 test_key_root_;
+ base::string16 test_key_root_;
ScopedVector<ScopedRegistryKeyOverride> overrides_;
DISALLOW_COPY_AND_ASSIGN(RegistryOverrideManager);
@@ -71,7 +71,7 @@ class RegistryOverrideManager {
// Generates a temporary key path that will be eventually deleted
// automatically if the process crashes.
-string16 GenerateTempKeyPath();
+base::string16 GenerateTempKeyPath();
} // namespace registry_util
« no previous file with comments | « base/test/test_process_killer_win.cc ('k') | base/test/test_reg_util_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698