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 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/time.h" | 9 #include "base/time.h" |
10 #include "ui/gfx/rect.h" | 10 #include "ui/gfx/rect.h" |
(...skipping 14 matching lines...) Expand all Loading... |
25 | 25 |
26 // Maximum age for a prerendered page until it is removed. | 26 // Maximum age for a prerendered page until it is removed. |
27 base::TimeDelta max_age; | 27 base::TimeDelta max_age; |
28 | 28 |
29 // Is https allowed? | 29 // Is https allowed? |
30 bool https_allowed; | 30 bool https_allowed; |
31 | 31 |
32 // The default tab bounds used as the prerenderer tab size when the active tab | 32 // The default tab bounds used as the prerenderer tab size when the active tab |
33 // cannot be accessed. | 33 // cannot be accessed. |
34 gfx::Rect default_tab_bounds; | 34 gfx::Rect default_tab_bounds; |
| 35 |
| 36 // User agent being used as an override for the WebContents. |
| 37 std::string user_agent_override; |
| 38 |
| 39 // Is the user agent being overridden for this NavigationEntry? |
| 40 bool is_overriding_user_agent; |
35 }; | 41 }; |
36 | 42 |
37 } // namespace prerender | 43 } // namespace prerender |
38 | 44 |
39 #endif // CHROME_BROWSER_PRERENDER_PRERENDER_CONFIG_H_ | 45 #endif // CHROME_BROWSER_PRERENDER_PRERENDER_CONFIG_H_ |
OLD | NEW |