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

Side by Side Diff: chrome/browser/chrome_elf_init_win.cc

Issue 1542413002: Switch to standard integer types in chrome/browser/, part 1 of 4. (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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 <stddef.h>
6
5 #include "base/bind.h" 7 #include "base/bind.h"
6 #include "base/metrics/field_trial.h" 8 #include "base/metrics/field_trial.h"
7 #include "base/metrics/histogram.h" 9 #include "base/metrics/histogram.h"
8 #include "base/metrics/sparse_histogram.h" 10 #include "base/metrics/sparse_histogram.h"
9 #include "base/strings/utf_string_conversions.h" 11 #include "base/strings/utf_string_conversions.h"
10 #include "base/win/registry.h" 12 #include "base/win/registry.h"
11 #include "chrome/browser/chrome_elf_init_win.h" 13 #include "chrome/browser/chrome_elf_init_win.h"
12 #include "chrome/common/chrome_version.h" 14 #include "chrome/common/chrome_version.h"
13 #include "chrome_elf/blacklist/blacklist.h" 15 #include "chrome_elf/blacklist/blacklist.h"
14 #include "chrome_elf/chrome_elf_constants.h" 16 #include "chrome_elf/chrome_elf_constants.h"
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 199
198 blacklist_registry_key.WriteValue(blacklist::kBeaconAttemptCount, 200 blacklist_registry_key.WriteValue(blacklist::kBeaconAttemptCount,
199 static_cast<DWORD>(0)); 201 static_cast<DWORD>(0));
200 202
201 // Only report the blacklist as getting setup when both registry writes 203 // Only report the blacklist as getting setup when both registry writes
202 // succeed, since otherwise the blacklist wasn't properly setup. 204 // succeed, since otherwise the blacklist wasn't properly setup.
203 if (set_version == ERROR_SUCCESS && set_state == ERROR_SUCCESS) 205 if (set_version == ERROR_SUCCESS && set_state == ERROR_SUCCESS)
204 RecordBlacklistSetupEvent(BLACKLIST_SETUP_ENABLED); 206 RecordBlacklistSetupEvent(BLACKLIST_SETUP_ENABLED);
205 } 207 }
206 } 208 }
OLDNEW
« no previous file with comments | « chrome/browser/chrome_elf_init_unittest_win.cc ('k') | chrome/browser/chrome_main_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698