OLD | NEW |
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 "rlz/win/lib/rlz_value_store_registry.h" | 5 #include "rlz/win/lib/rlz_value_store_registry.h" |
6 | 6 |
7 #include "base/strings/stringprintf.h" | 7 #include "base/strings/stringprintf.h" |
8 #include "base/strings/utf_string_conversions.h" | 8 #include "base/strings/utf_string_conversions.h" |
9 #include "base/win/registry.h" | 9 #include "base/win/registry.h" |
10 #include "rlz/lib/assert.h" | 10 #include "rlz/lib/assert.h" |
11 #include "rlz/lib/lib_values.h" | 11 #include "rlz/lib/lib_values.h" |
12 #include "rlz/lib/rlz_lib.h" | 12 #include "rlz/lib/rlz_lib.h" |
13 #include "rlz/lib/string_utils.h" | 13 #include "rlz/lib/string_utils.h" |
14 #include "rlz/win/lib/registry_util.h" | 14 #include "rlz/win/lib/registry_util.h" |
15 | 15 |
| 16 using base::ASCIIToWide; |
| 17 |
16 namespace rlz_lib { | 18 namespace rlz_lib { |
17 | 19 |
18 namespace { | 20 namespace { |
19 | 21 |
20 // | 22 // |
21 // Registry keys: | 23 // Registry keys: |
22 // | 24 // |
23 // RLZ's are stored as: | 25 // RLZ's are stored as: |
24 // <AccessPointName> = <RLZ value> @ kRootKey\kLibKeyName\kRlzsSubkeyName. | 26 // <AccessPointName> = <RLZ value> @ kRootKey\kLibKeyName\kRlzsSubkeyName. |
25 // | 27 // |
(...skipping 349 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
375 } | 377 } |
376 | 378 |
377 ScopedRlzValueStoreLock::~ScopedRlzValueStoreLock() { | 379 ScopedRlzValueStoreLock::~ScopedRlzValueStoreLock() { |
378 } | 380 } |
379 | 381 |
380 RlzValueStore* ScopedRlzValueStoreLock::GetStore() { | 382 RlzValueStore* ScopedRlzValueStoreLock::GetStore() { |
381 return store_.get(); | 383 return store_.get(); |
382 } | 384 } |
383 | 385 |
384 } // namespace rlz_lib | 386 } // namespace rlz_lib |
OLD | NEW |