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

Side by Side Diff: chrome_frame/registry_list_preferences_holder.cc

Issue 16391006: Use a direct include of strings headers in chrome_frame/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome_frame/registry_list_preferences_holder.h ('k') | chrome_frame/simple_resource_loader.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome_frame/registry_list_preferences_holder.h" 5 #include "chrome_frame/registry_list_preferences_holder.h"
6 6
7 #include "base/string_util.h" 7 #include "base/strings/string_util.h"
8 #include "base/win/registry.h" 8 #include "base/win/registry.h"
9 9
10 RegistryListPreferencesHolder::RegistryListPreferencesHolder() : valid_(false) { 10 RegistryListPreferencesHolder::RegistryListPreferencesHolder() : valid_(false) {
11 } 11 }
12 12
13 void RegistryListPreferencesHolder::Init(HKEY hive, 13 void RegistryListPreferencesHolder::Init(HKEY hive,
14 const wchar_t* registry_path, 14 const wchar_t* registry_path,
15 const wchar_t* list_name) { 15 const wchar_t* list_name) {
16 string16 list_path(registry_path); 16 string16 list_path(registry_path);
17 list_path += L"\\"; 17 list_path += L"\\";
(...skipping 18 matching lines...) Expand all
36 36
37 void RegistryListPreferencesHolder::AddStringForTesting( 37 void RegistryListPreferencesHolder::AddStringForTesting(
38 const string16& string) { 38 const string16& string) {
39 values_.push_back(string); 39 values_.push_back(string);
40 } 40 }
41 41
42 void RegistryListPreferencesHolder::ResetForTesting() { 42 void RegistryListPreferencesHolder::ResetForTesting() {
43 values_.clear(); 43 values_.clear();
44 valid_ = false; 44 valid_ = false;
45 } 45 }
OLDNEW
« no previous file with comments | « chrome_frame/registry_list_preferences_holder.h ('k') | chrome_frame/simple_resource_loader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698