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

Unified Diff: ios/chrome/browser/experimental_flags.h

Issue 1107963002: Add MemoryWedge to ios/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Review feedback. Created 5 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ios/chrome/browser/chrome_switches.cc ('k') | ios/chrome/browser/experimental_flags.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/experimental_flags.h
diff --git a/ios/chrome/browser/experimental_flags.h b/ios/chrome/browser/experimental_flags.h
index 81e1cf0f9824cd452962ffea59942ea5a9c79a09..1cd81a28c5974bbf316984d8b65a1be437a99729 100644
--- a/ios/chrome/browser/experimental_flags.h
+++ b/ios/chrome/browser/experimental_flags.h
@@ -5,6 +5,8 @@
#ifndef IOS_CHROME_BROWSER_EXPERIMENTAL_FLAGS_H_
#define IOS_CHROME_BROWSER_EXPERIMENTAL_FLAGS_H_
+#include <stdlib.h>
+
// This file can be empty. Its purpose is to contain the relatively short lived
// declarations required for experimental flags.
@@ -13,6 +15,10 @@ namespace experimental_flags {
// Returns true if the contents of the clipboard can be used for autocomplete.
bool IsOpenFromClipboardEnabled();
+// Returns the size in MB of the memory wedge to insert during a cold start.
+// If 0, no memory wedge should be inserted.
+size_t MemoryWedgeSizeInMB();
+
} // namespace experimental_flags
#endif // IOS_CHROME_BROWSER_EXPERIMENTAL_FLAGS_H_
« no previous file with comments | « ios/chrome/browser/chrome_switches.cc ('k') | ios/chrome/browser/experimental_flags.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698