OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CHROME_BROWSER_PRERENDER_PRERENDER_CONFIG_H_ | 5 #ifndef CHROME_BROWSER_PRERENDER_PRERENDER_CONFIG_H_ |
6 #define CHROME_BROWSER_PRERENDER_PRERENDER_CONFIG_H_ | 6 #define CHROME_BROWSER_PRERENDER_PRERENDER_CONFIG_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/time/time.h" | 10 #include "base/time/time.h" |
11 #include "ui/gfx/rect.h" | 11 #include "ui/gfx/geometry/rect.h" |
12 | 12 |
13 namespace prerender { | 13 namespace prerender { |
14 | 14 |
15 struct Config { | 15 struct Config { |
16 Config(); | 16 Config(); |
17 ~Config(); | 17 ~Config(); |
18 | 18 |
19 // Maximum memory use for a prerendered page until it is killed. | 19 // Maximum memory use for a prerendered page until it is killed. |
20 size_t max_bytes; | 20 size_t max_bytes; |
21 | 21 |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 std::string user_agent_override; | 54 std::string user_agent_override; |
55 | 55 |
56 // Is the user agent being overridden for this NavigationEntry? | 56 // Is the user agent being overridden for this NavigationEntry? |
57 bool is_overriding_user_agent; | 57 bool is_overriding_user_agent; |
58 }; | 58 }; |
59 | 59 |
60 } // namespace prerender | 60 } // namespace prerender |
61 | 61 |
62 #endif // CHROME_BROWSER_PRERENDER_PRERENDER_CONFIG_H_ | 62 #endif // CHROME_BROWSER_PRERENDER_PRERENDER_CONFIG_H_ |
63 | 63 |
OLD | NEW |