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

Side by Side Diff: chrome/browser/safe_browsing/incident_reporting/platform_state_store_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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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/platform_state_store.h " 5 #include "chrome/browser/safe_browsing/incident_reporting/platform_state_store.h "
6 6
7 #include "base/macros.h"
7 #include "base/prefs/pref_notifier_impl.h" 8 #include "base/prefs/pref_notifier_impl.h"
8 #include "base/prefs/testing_pref_store.h" 9 #include "base/prefs/testing_pref_store.h"
9 #include "base/strings/utf_string_conversions.h" 10 #include "base/strings/utf_string_conversions.h"
10 #include "base/test/test_reg_util_win.h" 11 #include "base/test/test_reg_util_win.h"
11 #include "base/test/test_simple_task_runner.h" 12 #include "base/test/test_simple_task_runner.h"
12 #include "base/thread_task_runner_handle.h" 13 #include "base/thread_task_runner_handle.h"
13 #include "base/win/registry.h" 14 #include "base/win/registry.h"
14 #include "chrome/browser/prefs/browser_prefs.h" 15 #include "chrome/browser/prefs/browser_prefs.h"
15 #include "chrome/test/base/testing_browser_process.h" 16 #include "chrome/test/base/testing_browser_process.h"
16 #include "chrome/test/base/testing_profile.h" 17 #include "chrome/test/base/testing_profile.h"
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 172
172 std::string data; 173 std::string data;
173 PlatformStateStoreLoadResult result = ReadStoreData(profile_, &data); 174 PlatformStateStoreLoadResult result = ReadStoreData(profile_, &data);
174 EXPECT_EQ(PlatformStateStoreLoadResult::CLEARED_DATA, result); 175 EXPECT_EQ(PlatformStateStoreLoadResult::CLEARED_DATA, result);
175 EXPECT_EQ(std::string(), data); 176 EXPECT_EQ(std::string(), data);
176 AssertTestDataIsAbsent(); 177 AssertTestDataIsAbsent();
177 } 178 }
178 179
179 } // namespace platform_state_store 180 } // namespace platform_state_store
180 } // namespace safe_browsing 181 } // namespace safe_browsing
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698