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

Side by Side Diff: chrome/installer/setup/setup_util.h

Issue 10912096: C++ reability review for gab. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 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) 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 // This file declares util functions for setup project. 5 // This file declares util functions for setup project.
6 6
7 //Pickup file for readability review.
8
7 #ifndef CHROME_INSTALLER_SETUP_SETUP_UTIL_H_ 9 #ifndef CHROME_INSTALLER_SETUP_SETUP_UTIL_H_
8 #define CHROME_INSTALLER_SETUP_SETUP_UTIL_H_ 10 #define CHROME_INSTALLER_SETUP_SETUP_UTIL_H_
9 11
10 #include <windows.h> 12 #include <windows.h>
11 13
12 #include "base/basictypes.h" 14 #include "base/basictypes.h"
13 #include "base/file_path.h" 15 #include "base/file_path.h"
14 #include "base/string16.h" 16 #include "base/string16.h"
15 #include "base/version.h" 17 #include "base/version.h"
16 #include "base/win/scoped_handle.h" 18 #include "base/win/scoped_handle.h"
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 // The previous state of the privilege this object is responsible for. As set 75 // The previous state of the privilege this object is responsible for. As set
74 // by AdjustTokenPrivileges() upon construction. 76 // by AdjustTokenPrivileges() upon construction.
75 TOKEN_PRIVILEGES previous_privileges_; 77 TOKEN_PRIVILEGES previous_privileges_;
76 78
77 DISALLOW_IMPLICIT_CONSTRUCTORS(ScopedTokenPrivilege); 79 DISALLOW_IMPLICIT_CONSTRUCTORS(ScopedTokenPrivilege);
78 }; 80 };
79 81
80 } // namespace installer 82 } // namespace installer
81 83
82 #endif // CHROME_INSTALLER_SETUP_SETUP_UTIL_H_ 84 #endif // CHROME_INSTALLER_SETUP_SETUP_UTIL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698