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

Side by Side Diff: base/memory/memory_pressure_monitor_win.h

Issue 1549003002: Switch to standard integer types in base/memory/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
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 BASE_MEMORY_MEMORY_PRESSURE_MONITOR_WIN_H_ 5 #ifndef BASE_MEMORY_MEMORY_PRESSURE_MONITOR_WIN_H_
6 #define BASE_MEMORY_MEMORY_PRESSURE_MONITOR_WIN_H_ 6 #define BASE_MEMORY_MEMORY_PRESSURE_MONITOR_WIN_H_
7 7
8 #include "base/base_export.h" 8 #include "base/base_export.h"
9 #include "base/macros.h"
9 #include "base/memory/memory_pressure_listener.h" 10 #include "base/memory/memory_pressure_listener.h"
10 #include "base/memory/memory_pressure_monitor.h" 11 #include "base/memory/memory_pressure_monitor.h"
11 #include "base/memory/weak_ptr.h" 12 #include "base/memory/weak_ptr.h"
12 #include "base/threading/thread_checker.h" 13 #include "base/threading/thread_checker.h"
13 #include "base/timer/timer.h" 14 #include "base/timer/timer.h"
14 15
15 // To not pull in windows.h. 16 // To not pull in windows.h.
16 typedef struct _MEMORYSTATUSEX MEMORYSTATUSEX; 17 typedef struct _MEMORYSTATUSEX MEMORYSTATUSEX;
17 18
18 namespace base { 19 namespace base {
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 // CheckMemoryPressure/CheckMemoryPressureAndRecordStatistics via |timer_|. 136 // CheckMemoryPressure/CheckMemoryPressureAndRecordStatistics via |timer_|.
136 base::WeakPtrFactory<MemoryPressureMonitor> weak_ptr_factory_; 137 base::WeakPtrFactory<MemoryPressureMonitor> weak_ptr_factory_;
137 138
138 DISALLOW_COPY_AND_ASSIGN(MemoryPressureMonitor); 139 DISALLOW_COPY_AND_ASSIGN(MemoryPressureMonitor);
139 }; 140 };
140 141
141 } // namespace win 142 } // namespace win
142 } // namespace base 143 } // namespace base
143 144
144 #endif // BASE_MEMORY_MEMORY_PRESSURE_MONITOR_WIN_H_ 145 #endif // BASE_MEMORY_MEMORY_PRESSURE_MONITOR_WIN_H_
OLDNEW
« no previous file with comments | « base/memory/memory_pressure_monitor_mac_unittest.cc ('k') | base/memory/memory_pressure_monitor_win_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698