OLD | NEW |
---|---|
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 // This file can be empty. Its purpose is to contain the relatively short lived | 8 // This file can be empty. Its purpose is to contain the relatively short lived |
9 // declarations required for experimental flags. | 9 // declarations required for experimental flags. |
10 | 10 |
11 namespace experimental_flags { | 11 namespace experimental_flags { |
12 | 12 |
13 // Returns true if the contents of the clipboard can be used for autocomplete. | 13 // Returns true if the contents of the clipboard can be used for autocomplete. |
14 bool IsOpenFromClipboardEnabled(); | 14 bool IsOpenFromClipboardEnabled(); |
15 | 15 |
16 // Returns the size in MB of the memory wedge to insert during a cold start. | |
17 // If 0, no memory wedge should be inserted. | |
18 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
| |
19 | |
16 } // namespace experimental_flags | 20 } // namespace experimental_flags |
17 | 21 |
18 #endif // IOS_CHROME_BROWSER_EXPERIMENTAL_FLAGS_H_ | 22 #endif // IOS_CHROME_BROWSER_EXPERIMENTAL_FLAGS_H_ |
OLD | NEW |