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

Side by Side Diff: base/base_paths_win.h

Issue 2079233004: Add the Windows.IsPinnedToTaskbar metric. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Constexpr TimeDelta Created 4 years, 5 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
« no previous file with comments | « no previous file | base/base_paths_win.cc » ('j') | 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 #ifndef BASE_BASE_PATHS_WIN_H_ 5 #ifndef BASE_BASE_PATHS_WIN_H_
6 #define BASE_BASE_PATHS_WIN_H_ 6 #define BASE_BASE_PATHS_WIN_H_
7 7
8 // This file declares windows-specific path keys for the base module. 8 // This file declares windows-specific path keys for the base module.
9 // These can be used with the PathService to access various special 9 // These can be used with the PathService to access various special
10 // directories and files. 10 // directories and files.
11 11
12 namespace base { 12 namespace base {
13 13
14 enum { 14 enum {
15 PATH_WIN_START = 100, 15 PATH_WIN_START = 100,
16 16
17 DIR_WINDOWS, // Windows directory, usually "c:\windows" 17 DIR_WINDOWS, // Windows directory, usually "c:\windows"
18 DIR_SYSTEM, // Usually c:\windows\system32" 18 DIR_SYSTEM, // Usually c:\windows\system32"
19 // 32-bit 32-bit on 64-bit 64-bit on 64-bit 19 // 32-bit 32-bit on 64-bit 64-bit on 64-bit
20 // DIR_PROGRAM_FILES 1 2 1 20 // DIR_PROGRAM_FILES 1 2 1
21 // DIR_PROGRAM_FILESX86 1 2 2 21 // DIR_PROGRAM_FILESX86 1 2 2
22 // DIR_PROGRAM_FILES6432 1 1 1 22 // DIR_PROGRAM_FILES6432 1 1 1
23 // 1 - C:\Program Files 2 - C:\Program Files (x86) 23 // 1 - C:\Program Files 2 - C:\Program Files (x86)
24 DIR_PROGRAM_FILES, // See table above. 24 DIR_PROGRAM_FILES, // See table above.
25 DIR_PROGRAM_FILESX86, // See table above. 25 DIR_PROGRAM_FILESX86, // See table above.
26 DIR_PROGRAM_FILES6432, // See table above. 26 DIR_PROGRAM_FILES6432, // See table above.
27 27
28 DIR_IE_INTERNET_CACHE, // Temporary Internet Files directory. 28 DIR_IE_INTERNET_CACHE, // Temporary Internet Files directory.
29 DIR_COMMON_START_MENU, // Usually "C:\ProgramData\Microsoft\Windows\ 29 DIR_COMMON_START_MENU, // Usually "C:\ProgramData\Microsoft\Windows\
30 // Start Menu\Programs" 30 // Start Menu\Programs"
31 DIR_START_MENU, // Usually "C:\Users\<user>\AppData\Roaming\Microsoft\ 31 DIR_START_MENU, // Usually "C:\Users\<user>\AppData\Roaming\
32 // Windows\Start Menu\Programs" 32 // Microsoft\Windows\Start Menu\Programs"
33 DIR_APP_DATA, // Application Data directory under the user profile. 33 DIR_APP_DATA, // Application Data directory under the user
34 DIR_LOCAL_APP_DATA, // "Local Settings\Application Data" directory under 34 // profile.
35 // the user profile. 35 DIR_LOCAL_APP_DATA, // "Local Settings\Application Data" directory
36 DIR_COMMON_APP_DATA, // Usually "C:\ProgramData". 36 // under the user profile.
37 DIR_APP_SHORTCUTS, // Where tiles on the start screen are stored, only 37 DIR_COMMON_APP_DATA, // Usually "C:\ProgramData".
38 // for Windows 8. Maps to "Local\AppData\Microsoft\ 38 DIR_APP_SHORTCUTS, // Where tiles on the start screen are stored,
39 // Windows\Application Shortcuts\". 39 // only for Windows 8. Maps to "Local\AppData\
40 DIR_COMMON_DESKTOP, // Directory for the common desktop (visible 40 // Microsoft\Windows\Application Shortcuts\".
41 // on all user's Desktop). 41 DIR_COMMON_DESKTOP, // Directory for the common desktop (visible
42 DIR_USER_QUICK_LAUNCH, // Directory for the quick launch shortcuts. 42 // on all user's Desktop).
43 DIR_TASKBAR_PINS, // Directory for the shortcuts pinned to taskbar. 43 DIR_USER_QUICK_LAUNCH, // Directory for the quick launch shortcuts.
44 DIR_WINDOWS_FONTS, // Usually C:\Windows\Fonts. 44 DIR_TASKBAR_PINS, // Directory for the shortcuts pinned to taskbar.
45 DIR_IMPLICIT_APP_SHORTCUTS, // The implicit user pinned shortcut directory.
46 DIR_WINDOWS_FONTS, // Usually C:\Windows\Fonts.
45 47
46 PATH_WIN_END 48 PATH_WIN_END
47 }; 49 };
48 50
49 } // namespace base 51 } // namespace base
50 52
51 #endif // BASE_BASE_PATHS_WIN_H_ 53 #endif // BASE_BASE_PATHS_WIN_H_
OLDNEW
« no previous file with comments | « no previous file | base/base_paths_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698