| 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_HANDLE_H_ | 5 #ifndef CHROME_BROWSER_PRERENDER_PRERENDER_HANDLE_H_ |
| 6 #define CHROME_BROWSER_PRERENDER_PRERENDER_HANDLE_H_ | 6 #define CHROME_BROWSER_PRERENDER_PRERENDER_HANDLE_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/macros.h" |
| 9 #include "base/memory/weak_ptr.h" | 9 #include "base/memory/weak_ptr.h" |
| 10 #include "base/threading/non_thread_safe.h" | 10 #include "base/threading/non_thread_safe.h" |
| 11 #include "chrome/browser/prerender/prerender_manager.h" | 11 #include "chrome/browser/prerender/prerender_manager.h" |
| 12 | 12 |
| 13 class GURL; | 13 class GURL; |
| 14 | 14 |
| 15 namespace content { | 15 namespace content { |
| 16 class SessionStorageNamespace; | 16 class SessionStorageNamespace; |
| 17 } | 17 } |
| 18 | 18 |
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 109 | 109 |
| 110 base::WeakPtr<PrerenderManager::PrerenderData> prerender_data_; | 110 base::WeakPtr<PrerenderManager::PrerenderData> prerender_data_; |
| 111 base::WeakPtrFactory<PrerenderHandle> weak_ptr_factory_; | 111 base::WeakPtrFactory<PrerenderHandle> weak_ptr_factory_; |
| 112 | 112 |
| 113 DISALLOW_COPY_AND_ASSIGN(PrerenderHandle); | 113 DISALLOW_COPY_AND_ASSIGN(PrerenderHandle); |
| 114 }; | 114 }; |
| 115 | 115 |
| 116 } // namespace prerender | 116 } // namespace prerender |
| 117 | 117 |
| 118 #endif // CHROME_BROWSER_PRERENDER_PRERENDER_HANDLE_H_ | 118 #endif // CHROME_BROWSER_PRERENDER_PRERENDER_HANDLE_H_ |
| OLD | NEW |