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 | 7 |
8 #include <list> | 8 #include <list> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/gtest_prod_util.h" | |
13 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
14 #include "base/memory/scoped_vector.h" | 13 #include "base/memory/scoped_vector.h" |
15 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
16 #include "base/threading/non_thread_safe.h" | 15 #include "base/threading/non_thread_safe.h" |
17 #include "base/time/time.h" | 16 #include "base/time/time.h" |
18 #include "base/timer/timer.h" | 17 #include "base/timer/timer.h" |
19 #include "chrome/browser/media/media_capture_devices_dispatcher.h" | 18 #include "chrome/browser/media/media_capture_devices_dispatcher.h" |
20 #include "chrome/browser/prerender/prerender_config.h" | 19 #include "chrome/browser/prerender/prerender_config.h" |
21 #include "chrome/browser/prerender/prerender_contents.h" | 20 #include "chrome/browser/prerender/prerender_contents.h" |
22 #include "chrome/browser/prerender/prerender_final_status.h" | 21 #include "chrome/browser/prerender/prerender_final_status.h" |
(...skipping 511 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
534 // Set of process hosts being prerendered. | 533 // Set of process hosts being prerendered. |
535 typedef std::set<content::RenderProcessHost*> PrerenderProcessSet; | 534 typedef std::set<content::RenderProcessHost*> PrerenderProcessSet; |
536 PrerenderProcessSet prerender_process_hosts_; | 535 PrerenderProcessSet prerender_process_hosts_; |
537 | 536 |
538 DISALLOW_COPY_AND_ASSIGN(PrerenderManager); | 537 DISALLOW_COPY_AND_ASSIGN(PrerenderManager); |
539 }; | 538 }; |
540 | 539 |
541 } // namespace prerender | 540 } // namespace prerender |
542 | 541 |
543 #endif // CHROME_BROWSER_PRERENDER_PRERENDER_MANAGER_H_ | 542 #endif // CHROME_BROWSER_PRERENDER_PRERENDER_MANAGER_H_ |
OLD | NEW |