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

Side by Side Diff: chrome/installer/setup/setup_util_unittest.cc

Issue 2593853004: Add missing include to setup_util_unittest.cc. (Closed)
Patch Set: Created 4 years 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "chrome/installer/setup/setup_util_unittest.h" 5 #include "chrome/installer/setup/setup_util_unittest.h"
6 6
7 #include <windows.h> 7 #include <windows.h>
8 #include <shlobj.h> 8 #include <shlobj.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 13 matching lines...) Expand all
24 #include "base/threading/platform_thread.h" 24 #include "base/threading/platform_thread.h"
25 #include "base/version.h" 25 #include "base/version.h"
26 #include "base/win/registry.h" 26 #include "base/win/registry.h"
27 #include "base/win/scoped_handle.h" 27 #include "base/win/scoped_handle.h"
28 #include "base/win/windows_version.h" 28 #include "base/win/windows_version.h"
29 #include "chrome/installer/setup/installer_state.h" 29 #include "chrome/installer/setup/installer_state.h"
30 #include "chrome/installer/setup/setup_constants.h" 30 #include "chrome/installer/setup/setup_constants.h"
31 #include "chrome/installer/setup/setup_util.h" 31 #include "chrome/installer/setup/setup_util.h"
32 #include "chrome/installer/util/browser_distribution.h" 32 #include "chrome/installer/util/browser_distribution.h"
33 #include "chrome/installer/util/google_update_constants.h" 33 #include "chrome/installer/util/google_update_constants.h"
34 #include "chrome/installer/util/install_util.h"
34 #include "chrome/installer/util/installation_state.h" 35 #include "chrome/installer/util/installation_state.h"
35 #include "chrome/installer/util/updating_app_registration_data.h" 36 #include "chrome/installer/util/updating_app_registration_data.h"
36 #include "chrome/installer/util/util_constants.h" 37 #include "chrome/installer/util/util_constants.h"
37 #include "testing/gtest/include/gtest/gtest.h" 38 #include "testing/gtest/include/gtest/gtest.h"
38 39
39 namespace { 40 namespace {
40 41
41 // The privilege tested in ScopeTokenPrivilege tests below. 42 // The privilege tested in ScopeTokenPrivilege tests below.
42 // Use SE_RESTORE_NAME as it is one of the many privileges that is available, 43 // Use SE_RESTORE_NAME as it is one of the many privileges that is available,
43 // but not enabled by default on processes running at high integrity. 44 // but not enabled by default on processes running at high integrity.
(...skipping 667 matching lines...) Expand 10 before | Expand all | Expand 10 after
711 } 712 }
712 713
713 // Ensure that all values are absent. 714 // Ensure that all values are absent.
714 { 715 {
715 base::win::RegistryValueIterator it(root_, path_.c_str()); 716 base::win::RegistryValueIterator it(root_, path_.c_str());
716 ASSERT_EQ(0u, it.ValueCount()); 717 ASSERT_EQ(0u, it.ValueCount());
717 } 718 }
718 } 719 }
719 720
720 } // namespace installer 721 } // namespace installer
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698