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

Side by Side Diff: chrome/browser/chromeos/memory/system_memory_stats_recorder.h

Issue 1188823002: [MemoryPressure] Move chrome/browser/chromeos/* to chrome/browser/memory/*. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed sky@ comments. Created 5 years, 6 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_CHROMEOS_MEMORY_SYSTEM_MEMORY_STATS_RECORDER_H_
6 #define CHROME_BROWSER_CHROMEOS_MEMORY_SYSTEM_MEMORY_STATS_RECORDER_H_
7
8 namespace chromeos {
9
10 // The type of memory UMA stats to be recorded in RecordMemoryStats.
11 enum RecordMemoryStatsType {
12 // When a tab was discarded.
13 RECORD_MEMORY_STATS_TAB_DISCARDED,
14
15 // Right after the renderer for contents was killed.
16 RECORD_MEMORY_STATS_CONTENTS_OOM_KILLED,
17
18 // Right after the renderer for extensions was killed.
19 RECORD_MEMORY_STATS_EXTENSIONS_OOM_KILLED,
20 };
21
22 void RecordMemoryStats(RecordMemoryStatsType type);
23
24 } // namespace chromeos
25
26 #endif // CHROME_BROWSER_CHROMEOS_MEMORY_SYSTEM_MEMORY_STATS_RECORDER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698