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" | |
14 #include "base/memory/weak_ptr.h" | 13 #include "base/memory/weak_ptr.h" |
15 #include "base/observer_list.h" | 14 #include "base/observer_list.h" |
16 #include "base/time/time.h" | 15 #include "base/time/time.h" |
17 #include "base/values.h" | 16 #include "base/values.h" |
18 #include "chrome/browser/prerender/prerender_final_status.h" | 17 #include "chrome/browser/prerender/prerender_final_status.h" |
19 #include "chrome/browser/prerender/prerender_origin.h" | 18 #include "chrome/browser/prerender/prerender_origin.h" |
20 #include "content/public/browser/notification_observer.h" | 19 #include "content/public/browser/notification_observer.h" |
21 #include "content/public/browser/notification_registrar.h" | 20 #include "content/public/browser/notification_registrar.h" |
22 #include "content/public/browser/web_contents_observer.h" | 21 #include "content/public/browser/web_contents_observer.h" |
23 #include "content/public/common/referrer.h" | 22 #include "content/public/common/referrer.h" |
(...skipping 377 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
401 // A running tally of the number of bytes this prerender has caused to be | 400 // A running tally of the number of bytes this prerender has caused to be |
402 // transferred over the network for resources. Updated with AddNetworkBytes. | 401 // transferred over the network for resources. Updated with AddNetworkBytes. |
403 int64 network_bytes_; | 402 int64 network_bytes_; |
404 | 403 |
405 DISALLOW_COPY_AND_ASSIGN(PrerenderContents); | 404 DISALLOW_COPY_AND_ASSIGN(PrerenderContents); |
406 }; | 405 }; |
407 | 406 |
408 } // namespace prerender | 407 } // namespace prerender |
409 | 408 |
410 #endif // CHROME_BROWSER_PRERENDER_PRERENDER_CONTENTS_H_ | 409 #endif // CHROME_BROWSER_PRERENDER_PRERENDER_CONTENTS_H_ |
OLD | NEW |