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

Side by Side Diff: chrome/browser/win/private_working_set_snapshot.h

Issue 2098713003: Moved a bunch of win-specific files to the new win folder in chrome/browser (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 CHROME_BROWSER_PRIVATE_WORKING_SET_SNAPSHOT_H_ 5 #ifndef CHROME_BROWSER_WIN_PRIVATE_WORKING_SET_SNAPSHOT_H_
6 #define CHROME_BROWSER_PRIVATE_WORKING_SET_SNAPSHOT_H_ 6 #define CHROME_BROWSER_WIN_PRIVATE_WORKING_SET_SNAPSHOT_H_
7 7
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 9
10 #if defined(OS_WIN)
11 #include <pdh.h> 10 #include <pdh.h>
12 #include <stddef.h> 11 #include <stddef.h>
13 12
14 #include <vector> 13 #include <vector>
15 14
16 #include "base/macros.h" 15 #include "base/macros.h"
17 #include "base/process/process_handle.h" 16 #include "base/process/process_handle.h"
18 #include "base/win/scoped_handle.h" 17 #include "base/win/scoped_handle.h"
19 18
20 namespace win { 19 namespace win {
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 109
111 // A PdhCounterPair for each successful AddToMonitorList call. 110 // A PdhCounterPair for each successful AddToMonitorList call.
112 std::vector<PdhCounterPair> counter_pairs_; 111 std::vector<PdhCounterPair> counter_pairs_;
113 112
114 // After each call to Sample this will hold the results, sorted by process id. 113 // After each call to Sample this will hold the results, sorted by process id.
115 std::vector<PidAndPrivateWorkingSet> records_; 114 std::vector<PidAndPrivateWorkingSet> records_;
116 115
117 DISALLOW_COPY_AND_ASSIGN(PrivateWorkingSetSnapshot); 116 DISALLOW_COPY_AND_ASSIGN(PrivateWorkingSetSnapshot);
118 }; 117 };
119 118
120 #endif // defined(OS_WIN) 119 #endif // CHROME_BROWSER_WIN_PRIVATE_WORKING_SET_SNAPSHOT_H_
121
122 #endif // CHROME_BROWSER_PRIVATE_WORKING_SET_SNAPSHOT_H_
OLDNEW
« no previous file with comments | « chrome/browser/win/jumplist_updater.cc ('k') | chrome/browser/win/private_working_set_snapshot.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698