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

Side by Side Diff: chrome/installer/util/delete_reg_value_work_item_unittest.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 <windows.h> 5 #include <windows.h>
6 6
7 #include "base/macros.h"
7 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
8 #include "base/strings/string16.h" 9 #include "base/strings/string16.h"
9 #include "base/test/test_reg_util_win.h" 10 #include "base/test/test_reg_util_win.h"
10 #include "base/win/registry.h" 11 #include "base/win/registry.h"
11 #include "chrome/installer/util/delete_reg_value_work_item.h" 12 #include "chrome/installer/util/delete_reg_value_work_item.h"
12 #include "chrome/installer/util/work_item.h" 13 #include "chrome/installer/util/work_item.h"
13 #include "testing/gtest/include/gtest/gtest.h" 14 #include "testing/gtest/include/gtest/gtest.h"
14 15
15 using base::win::RegKey; 16 using base::win::RegKey;
16 17
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 144
144 EXPECT_EQ(ERROR_FILE_NOT_FOUND, 145 EXPECT_EQ(ERROR_FILE_NOT_FOUND,
145 key.Open(HKEY_CURRENT_USER, kTestKey, KEY_READ)); 146 key.Open(HKEY_CURRENT_USER, kTestKey, KEY_READ));
146 147
147 work_item1->Rollback(); 148 work_item1->Rollback();
148 work_item2->Rollback(); 149 work_item2->Rollback();
149 150
150 EXPECT_EQ(ERROR_FILE_NOT_FOUND, 151 EXPECT_EQ(ERROR_FILE_NOT_FOUND,
151 key.Open(HKEY_CURRENT_USER, kTestKey, KEY_READ)); 152 key.Open(HKEY_CURRENT_USER, kTestKey, KEY_READ));
152 } 153 }
OLDNEW
« no previous file with comments | « chrome/installer/util/delete_reg_key_work_item_unittest.cc ('k') | chrome/installer/util/delete_tree_work_item.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698