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 "chrome/installer/util/channel_info.h" | 5 #include "chrome/installer/util/channel_info.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 |
7 #include "base/logging.h" | 9 #include "base/logging.h" |
| 10 #include "base/macros.h" |
8 #include "base/strings/string_piece.h" | 11 #include "base/strings/string_piece.h" |
9 #include "base/strings/string_util.h" | 12 #include "base/strings/string_util.h" |
10 #include "base/win/registry.h" | 13 #include "base/win/registry.h" |
11 #include "chrome/installer/util/google_update_constants.h" | 14 #include "chrome/installer/util/google_update_constants.h" |
12 #include "chrome/installer/util/util_constants.h" | 15 #include "chrome/installer/util/util_constants.h" |
13 | 16 |
14 using base::win::RegKey; | 17 using base::win::RegKey; |
15 | 18 |
16 namespace { | 19 namespace { |
17 | 20 |
(...skipping 322 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
340 | 343 |
341 for (int scan = 0; scan < NUM_MODIFIERS; ++scan) { | 344 for (int scan = 0; scan < NUM_MODIFIERS; ++scan) { |
342 ModifierIndex index = static_cast<ModifierIndex>(scan); | 345 ModifierIndex index = static_cast<ModifierIndex>(scan); |
343 modified = SetModifier(index, false, &value_) || modified; | 346 modified = SetModifier(index, false, &value_) || modified; |
344 } | 347 } |
345 | 348 |
346 return modified; | 349 return modified; |
347 } | 350 } |
348 | 351 |
349 } // namespace installer | 352 } // namespace installer |
OLD | NEW |