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

Side by Side Diff: chrome/installer/util/channel_info.cc

Issue 1548153002: Switch to standard integer types in chrome/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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
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/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
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
OLDNEW
« no previous file with comments | « chrome/installer/util/browser_distribution.h ('k') | chrome/installer/util/channel_info_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698