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_CONTENTS_H_ | 5 #ifndef CHROME_BROWSER_PRERENDER_PRERENDER_CONTENTS_H_ |
6 #define CHROME_BROWSER_PRERENDER_PRERENDER_CONTENTS_H_ | 6 #define CHROME_BROWSER_PRERENDER_PRERENDER_CONTENTS_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <utility> | 9 #include <utility> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
13 #include "base/memory/scoped_vector.h" | 13 #include "base/memory/scoped_vector.h" |
14 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
15 #include "base/observer_list.h" | 15 #include "base/observer_list.h" |
16 #include "base/time/time.h" | 16 #include "base/time/time.h" |
17 #include "base/values.h" | 17 #include "base/values.h" |
18 #include "chrome/browser/prerender/prerender_final_status.h" | 18 #include "chrome/browser/prerender/prerender_final_status.h" |
19 #include "chrome/browser/prerender/prerender_origin.h" | 19 #include "chrome/browser/prerender/prerender_origin.h" |
20 #include "content/public/browser/notification_observer.h" | 20 #include "content/public/browser/notification_observer.h" |
21 #include "content/public/browser/notification_registrar.h" | 21 #include "content/public/browser/notification_registrar.h" |
22 #include "content/public/browser/web_contents_observer.h" | 22 #include "content/public/browser/web_contents_observer.h" |
23 #include "content/public/common/referrer.h" | 23 #include "content/public/common/referrer.h" |
24 #include "ui/gfx/size.h" | 24 #include "ui/gfx/geometry/size.h" |
25 | 25 |
26 class Profile; | 26 class Profile; |
27 | 27 |
28 namespace base { | 28 namespace base { |
29 class ProcessMetrics; | 29 class ProcessMetrics; |
30 } | 30 } |
31 | 31 |
32 namespace content { | 32 namespace content { |
33 class RenderViewHost; | 33 class RenderViewHost; |
34 class SessionStorageNamespace; | 34 class SessionStorageNamespace; |
(...skipping 421 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
456 // A running tally of the number of bytes this prerender has caused to be | 456 // A running tally of the number of bytes this prerender has caused to be |
457 // transferred over the network for resources. Updated with AddNetworkBytes. | 457 // transferred over the network for resources. Updated with AddNetworkBytes. |
458 int64 network_bytes_; | 458 int64 network_bytes_; |
459 | 459 |
460 DISALLOW_COPY_AND_ASSIGN(PrerenderContents); | 460 DISALLOW_COPY_AND_ASSIGN(PrerenderContents); |
461 }; | 461 }; |
462 | 462 |
463 } // namespace prerender | 463 } // namespace prerender |
464 | 464 |
465 #endif // CHROME_BROWSER_PRERENDER_PRERENDER_CONTENTS_H_ | 465 #endif // CHROME_BROWSER_PRERENDER_PRERENDER_CONTENTS_H_ |
OLD | NEW |