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

Side by Side Diff: chrome/browser/safe_browsing/incident_reporting/environment_data_collection_win_unittest.cc

Issue 1548133002: Switch to standard integer types in chrome/browser/, part 3 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 "chrome/browser/safe_browsing/incident_reporting/environment_data_colle ction_win.h" 5 #include "chrome/browser/safe_browsing/incident_reporting/environment_data_colle ction_win.h"
6 6
7 #include <stddef.h>
8 #include <stdint.h>
9
7 #include <algorithm> 10 #include <algorithm>
8 #include <string> 11 #include <string>
9 12
10 #include "base/base_paths.h" 13 #include "base/base_paths.h"
11 #include "base/files/file_path.h" 14 #include "base/files/file_path.h"
12 #include "base/path_service.h" 15 #include "base/path_service.h"
13 #include "base/scoped_native_library.h" 16 #include "base/scoped_native_library.h"
14 #include "base/strings/utf_string_conversions.h" 17 #include "base/strings/utf_string_conversions.h"
15 #include "base/test/test_reg_util_win.h" 18 #include "base/test/test_reg_util_win.h"
16 #include "base/win/registry.h" 19 #include "base/win/registry.h"
(...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after
309 TEST(SafeBrowsingEnvironmentDataCollectionWinTest, 312 TEST(SafeBrowsingEnvironmentDataCollectionWinTest,
310 CollectDomainEnrollmentData) { 313 CollectDomainEnrollmentData) {
311 // The test may or may not be running on a domain-enrolled machine, so all we 314 // The test may or may not be running on a domain-enrolled machine, so all we
312 // can check is that some value is filled in. 315 // can check is that some value is filled in.
313 ClientIncidentReport_EnvironmentData_OS os_data; 316 ClientIncidentReport_EnvironmentData_OS os_data;
314 CollectDomainEnrollmentData(&os_data); 317 CollectDomainEnrollmentData(&os_data);
315 EXPECT_TRUE(os_data.has_is_enrolled_to_domain()); 318 EXPECT_TRUE(os_data.has_is_enrolled_to_domain());
316 } 319 }
317 320
318 } // namespace safe_browsing 321 } // namespace safe_browsing
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698