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_MANAGER_H_ | 5 #ifndef CHROME_BROWSER_PRERENDER_PRERENDER_MANAGER_H_ |
6 #define CHROME_BROWSER_PRERENDER_PRERENDER_MANAGER_H_ | 6 #define CHROME_BROWSER_PRERENDER_PRERENDER_MANAGER_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <list> | 9 #include <list> |
10 #include <string> | 10 #include <string> |
11 | 11 |
12 #include "base/gtest_prod_util.h" | 12 #include "base/gtest_prod_util.h" |
13 #include "base/hash_tables.h" | 13 #include "base/hash_tables.h" |
14 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
15 #include "base/memory/scoped_vector.h" | 15 #include "base/memory/scoped_vector.h" |
16 #include "base/memory/weak_ptr.h" | 16 #include "base/memory/weak_ptr.h" |
17 #include "base/threading/non_thread_safe.h" | 17 #include "base/threading/non_thread_safe.h" |
18 #include "base/time.h" | 18 #include "base/time.h" |
19 #include "base/timer.h" | 19 #include "base/timer.h" |
20 #include "chrome/browser/prerender/prerender_config.h" | 20 #include "chrome/browser/prerender/prerender_config.h" |
21 #include "chrome/browser/prerender/prerender_contents.h" | 21 #include "chrome/browser/prerender/prerender_contents.h" |
22 #include "chrome/browser/prerender/prerender_final_status.h" | 22 #include "chrome/browser/prerender/prerender_final_status.h" |
23 #include "chrome/browser/prerender/prerender_origin.h" | 23 #include "chrome/browser/prerender/prerender_origin.h" |
24 #include "chrome/browser/profiles/profile_keyed_service.h" | 24 #include "chrome/browser/profiles/profile_keyed_service.h" |
25 #include "googleurl/src/gurl.h" | 25 #include "googleurl/src/gurl.h" |
26 | 26 |
27 class Profile; | 27 class Profile; |
28 class TabContents; | |
29 | 28 |
30 namespace base { | 29 namespace base { |
31 class DictionaryValue; | 30 class DictionaryValue; |
32 } | 31 } |
33 | 32 |
34 namespace content { | 33 namespace content { |
35 class WebContents; | 34 class WebContents; |
36 } | 35 } |
37 | 36 |
38 #if defined(COMPILER_GCC) | 37 #if defined(COMPILER_GCC) |
(...skipping 422 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
461 | 460 |
462 DISALLOW_COPY_AND_ASSIGN(PrerenderManager); | 461 DISALLOW_COPY_AND_ASSIGN(PrerenderManager); |
463 }; | 462 }; |
464 | 463 |
465 PrerenderManager* FindPrerenderManagerUsingRenderProcessId( | 464 PrerenderManager* FindPrerenderManagerUsingRenderProcessId( |
466 int render_process_id); | 465 int render_process_id); |
467 | 466 |
468 } // namespace prerender | 467 } // namespace prerender |
469 | 468 |
470 #endif // CHROME_BROWSER_PRERENDER_PRERENDER_MANAGER_H_ | 469 #endif // CHROME_BROWSER_PRERENDER_PRERENDER_MANAGER_H_ |
OLD | NEW |