Make touch-action apply to double-tap zoom
[chromium-blink-merge.git] / rlz / win / lib / process_info.h
blob84bd60482456a415d891aeebdcdf84cc45c1cec6
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
3 // found in the LICENSE file.
4 //
5 // Information about the current process.
7 #ifndef RLZ_WIN_LIB_PROCESS_INFO_H_
8 #define RLZ_WIN_LIB_PROCESS_INFO_H_
10 #include "base/basictypes.h"
12 namespace rlz_lib {
14 class ProcessInfo {
15 public:
16 enum IntegrityLevel {
17 INTEGRITY_UNKNOWN,
18 LOW_INTEGRITY,
19 MEDIUM_INTEGRITY,
20 HIGH_INTEGRITY,
23 // All these functions cache the result after first run.
24 static bool IsRunningAsSystem();
25 static bool HasAdminRights(); // System / Admin / High Elevation on Vista
27 private:
28 DISALLOW_COPY_AND_ASSIGN(ProcessInfo);
29 }; // class
30 }; // namespace
32 #endif // RLZ_WIN_LIB_PROCESS_INFO_H_