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

Side by Side Diff: components/user_prefs/tracked/registry_hash_store_contents_win_unittest.cc

Issue 2204943002: Integrate registry_hash_store_contents with the rest of tracked prefs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Experiment with giving two transactions to EnforceAndReport Created 4 years, 4 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) 2016 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2016 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 "components/user_prefs/tracked/registry_hash_store_contents_win.h" 5 #include "components/user_prefs/tracked/registry_hash_store_contents_win.h"
6 6
7 #include "base/strings/string16.h" 7 #include "base/strings/string16.h"
8 #include "base/strings/utf_string_conversions.h" 8 #include "base/strings/utf_string_conversions.h"
9 #include "base/test/test_reg_util_win.h" 9 #include "base/test/test_reg_util_win.h"
10 #include "base/values.h" 10 #include "base/values.h"
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 108
109 contents->Reset(); 109 contents->Reset();
110 110
111 stored_mac.clear(); 111 stored_mac.clear();
112 EXPECT_FALSE(contents->GetMac(kAtomicPrefPath, &stored_mac)); 112 EXPECT_FALSE(contents->GetMac(kAtomicPrefPath, &stored_mac));
113 EXPECT_TRUE(stored_mac.empty()); 113 EXPECT_TRUE(stored_mac.empty());
114 114
115 split_macs.clear(); 115 split_macs.clear();
116 EXPECT_FALSE(contents->GetSplitMacs(kSplitPrefPath, &split_macs)); 116 EXPECT_FALSE(contents->GetSplitMacs(kSplitPrefPath, &split_macs));
117 EXPECT_EQ(0U, split_macs.size()); 117 EXPECT_EQ(0U, split_macs.size());
118 } 118 }
gab 2016/08/03 18:19:36 What's the change detected on this line?!
proberge 2016/08/04 00:13:46 Left had no line break at eof
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698