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

Unified Diff: ios/chrome/app/memory_monitor.h

Issue 2580363002: Upstream Chrome on iOS source code [1/11]. (Closed)
Patch Set: Created 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ios/chrome/app/main_controller_unittest.mm ('k') | ios/chrome/app/memory_monitor.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/app/memory_monitor.h
diff --git a/ios/chrome/app/memory_monitor.h b/ios/chrome/app/memory_monitor.h
new file mode 100644
index 0000000000000000000000000000000000000000..eb2642f32049d0158c02ec85fc0e8614ba8812f6
--- /dev/null
+++ b/ios/chrome/app/memory_monitor.h
@@ -0,0 +1,19 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef IOS_CHROME_APP_MEMORY_MONITOR_H_
+#define IOS_CHROME_APP_MEMORY_MONITOR_H_
+
+namespace ios_internal {
+
+// Timer to launch [UpdateBreakpadMemoryValues] every 5 seconds.
+void AsynchronousFreeMemoryMonitor();
+
+// Checks the values of free RAM and free disk space and updates breakpad with
+// these values.
+void UpdateBreakpadMemoryValues();
+
+} // namespace ios_internal
+
+#endif // IOS_CHROME_APP_MEMORY_MONITOR_H_
« no previous file with comments | « ios/chrome/app/main_controller_unittest.mm ('k') | ios/chrome/app/memory_monitor.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698