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

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: Synced 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
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..e83e05225c40ea9a88bc40a13724ebebee0c96fb 100644
--- a/ios/chrome/browser/experimental_flags.h
+++ b/ios/chrome/browser/experimental_flags.h
@@ -13,6 +13,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.
+unsigned MemoryWedgeSizeInMB();
Alexei Svitkine (slow) 2015/04/28 16:52:58 Nit: I think size_t is preferred for unsigned valu
lpromero 2015/04/28 18:12:46 Switched to StringToSizeT internally, as you advis
+
} // namespace experimental_flags
#endif // IOS_CHROME_BROWSER_EXPERIMENTAL_FLAGS_H_

Powered by Google App Engine
This is Rietveld 408576698