| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 <shlwapi.h> | 5 #include <shlwapi.h> |
| 6 #include <stddef.h> |
| 6 | 7 |
| 7 #include "base/files/file_path.h" | 8 #include "base/files/file_path.h" |
| 8 #include "base/logging.h" | 9 #include "base/logging.h" |
| 9 #include "base/win/registry.h" | 10 #include "base/win/registry.h" |
| 10 #include "chrome/installer/util/create_reg_key_work_item.h" | 11 #include "chrome/installer/util/create_reg_key_work_item.h" |
| 11 #include "chrome/installer/util/install_util.h" | 12 #include "chrome/installer/util/install_util.h" |
| 12 #include "chrome/installer/util/logging_installer.h" | 13 #include "chrome/installer/util/logging_installer.h" |
| 13 | 14 |
| 14 using base::win::RegKey; | 15 using base::win::RegKey; |
| 15 | 16 |
| (...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 122 | 123 |
| 123 do { | 124 do { |
| 124 key_list_.push_back(key_path); | 125 key_list_.push_back(key_path); |
| 125 // This is pure string operation so it does not matter whether the | 126 // This is pure string operation so it does not matter whether the |
| 126 // path is file path or registry path. | 127 // path is file path or registry path. |
| 127 UpOneDirectoryOrEmpty(&key_path); | 128 UpOneDirectoryOrEmpty(&key_path); |
| 128 } while (!key_path.empty()); | 129 } while (!key_path.empty()); |
| 129 | 130 |
| 130 return true; | 131 return true; |
| 131 } | 132 } |
| OLD | NEW |