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

Side by Side Diff: base/memory/memory_pressure_monitor.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_H_ 5 #ifndef BASE_MEMORY_MEMORY_PRESSURE_MONITOR_H_
6 #define BASE_MEMORY_MEMORY_PRESSURE_MONITOR_H_ 6 #define BASE_MEMORY_MEMORY_PRESSURE_MONITOR_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 11
11 namespace base { 12 namespace base {
12 13
13 // TODO(chrisha): Make this a concrete class with per-OS implementations rather 14 // TODO(chrisha): Make this a concrete class with per-OS implementations rather
14 // than an abstract base class. 15 // than an abstract base class.
15 16
16 // Declares the interface for a MemoryPressureMonitor. There are multiple 17 // Declares the interface for a MemoryPressureMonitor. There are multiple
17 // OS specific implementations of this class. An instance of the memory 18 // OS specific implementations of this class. An instance of the memory
18 // pressure observer is created at the process level, tracks memory usage, and 19 // pressure observer is created at the process level, tracks memory usage, and
(...skipping 15 matching lines...) Expand all
34 protected: 35 protected:
35 MemoryPressureMonitor(); 36 MemoryPressureMonitor();
36 37
37 private: 38 private:
38 DISALLOW_COPY_AND_ASSIGN(MemoryPressureMonitor); 39 DISALLOW_COPY_AND_ASSIGN(MemoryPressureMonitor);
39 }; 40 };
40 41
41 } // namespace base 42 } // namespace base
42 43
43 #endif // BASE_MEMORY_MEMORY_PRESSURE_MONITOR_H_ 44 #endif // BASE_MEMORY_MEMORY_PRESSURE_MONITOR_H_
OLDNEW
« no previous file with comments | « base/memory/memory_pressure_listener.h ('k') | base/memory/memory_pressure_monitor_chromeos_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698