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

Side by Side 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, 7 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
« no previous file with comments | « ios/chrome/browser/chrome_switches.cc ('k') | ios/chrome/browser/experimental_flags.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 IOS_CHROME_BROWSER_EXPERIMENTAL_FLAGS_H_ 5 #ifndef IOS_CHROME_BROWSER_EXPERIMENTAL_FLAGS_H_
6 #define IOS_CHROME_BROWSER_EXPERIMENTAL_FLAGS_H_ 6 #define IOS_CHROME_BROWSER_EXPERIMENTAL_FLAGS_H_
7 7
8 #include <stdlib.h>
9
8 // This file can be empty. Its purpose is to contain the relatively short lived 10 // This file can be empty. Its purpose is to contain the relatively short lived
9 // declarations required for experimental flags. 11 // declarations required for experimental flags.
10 12
11 namespace experimental_flags { 13 namespace experimental_flags {
12 14
13 // Returns true if the contents of the clipboard can be used for autocomplete. 15 // Returns true if the contents of the clipboard can be used for autocomplete.
14 bool IsOpenFromClipboardEnabled(); 16 bool IsOpenFromClipboardEnabled();
15 17
18 // Returns the size in MB of the memory wedge to insert during a cold start.
19 // If 0, no memory wedge should be inserted.
20 size_t MemoryWedgeSizeInMB();
21
16 } // namespace experimental_flags 22 } // namespace experimental_flags
17 23
18 #endif // IOS_CHROME_BROWSER_EXPERIMENTAL_FLAGS_H_ 24 #endif // IOS_CHROME_BROWSER_EXPERIMENTAL_FLAGS_H_
OLDNEW
« 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