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

Side by Side Diff: chrome/installer/util/delete_reg_value_work_item_unittest.cc

Issue 42155: Remove logging.h from cc files that don't use it. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 9 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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/file_util.h" 7 #include "base/file_util.h"
8 #include "base/logging.h"
9 #include "base/registry.h" 8 #include "base/registry.h"
10 #include "base/scoped_ptr.h" 9 #include "base/scoped_ptr.h"
11 #include "base/string_util.h" 10 #include "base/string_util.h"
12 #include "chrome/installer/util/delete_reg_value_work_item.h" 11 #include "chrome/installer/util/delete_reg_value_work_item.h"
13 #include "chrome/installer/util/work_item.h" 12 #include "chrome/installer/util/work_item.h"
14 #include "testing/gtest/include/gtest/gtest.h" 13 #include "testing/gtest/include/gtest/gtest.h"
15 14
16 namespace { 15 namespace {
17 wchar_t test_root[] = L"DeleteRegValueWorkItemTest"; 16 wchar_t test_root[] = L"DeleteRegValueWorkItemTest";
18 class DeleteRegValueWorkItemTest : public testing::Test { 17 class DeleteRegValueWorkItemTest : public testing::Test {
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 95
97 EXPECT_FALSE(key.ValueExists(name_str.c_str())); 96 EXPECT_FALSE(key.ValueExists(name_str.c_str()));
98 EXPECT_FALSE(key.ValueExists(name_dword.c_str())); 97 EXPECT_FALSE(key.ValueExists(name_dword.c_str()));
99 98
100 work_item1->Rollback(); 99 work_item1->Rollback();
101 work_item2->Rollback(); 100 work_item2->Rollback();
102 101
103 EXPECT_FALSE(key.ValueExists(name_str.c_str())); 102 EXPECT_FALSE(key.ValueExists(name_str.c_str()));
104 EXPECT_FALSE(key.ValueExists(name_dword.c_str())); 103 EXPECT_FALSE(key.ValueExists(name_dword.c_str()));
105 } 104 }
OLDNEW
« no previous file with comments | « chrome/installer/util/create_reg_key_work_item_unittest.cc ('k') | chrome/installer/util/helper_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698