OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 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_INSTANT_INSTANT_LOADER_H_ | 5 #ifndef CHROME_BROWSER_UI_SEARCH_INSTANT_LOADER_H_ |
6 #define CHROME_BROWSER_INSTANT_INSTANT_LOADER_H_ | 6 #define CHROME_BROWSER_UI_SEARCH_INSTANT_LOADER_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/callback.h" | 9 #include "base/callback.h" |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
12 #include "base/timer.h" | 12 #include "base/timer.h" |
13 #include "chrome/browser/ui/tab_contents/core_tab_helper_delegate.h" | 13 #include "chrome/browser/ui/tab_contents/core_tab_helper_delegate.h" |
14 #include "content/public/browser/notification_observer.h" | 14 #include "content/public/browser/notification_observer.h" |
15 #include "content/public/browser/notification_registrar.h" | 15 #include "content/public/browser/notification_registrar.h" |
16 #include "content/public/browser/web_contents_delegate.h" | 16 #include "content/public/browser/web_contents_delegate.h" |
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
127 | 127 |
128 // Used to mark when the page is stale. | 128 // Used to mark when the page is stale. |
129 base::Timer stale_page_timer_; | 129 base::Timer stale_page_timer_; |
130 | 130 |
131 // Used to get notifications about renderers. | 131 // Used to get notifications about renderers. |
132 content::NotificationRegistrar registrar_; | 132 content::NotificationRegistrar registrar_; |
133 | 133 |
134 DISALLOW_COPY_AND_ASSIGN(InstantLoader); | 134 DISALLOW_COPY_AND_ASSIGN(InstantLoader); |
135 }; | 135 }; |
136 | 136 |
137 #endif // CHROME_BROWSER_INSTANT_INSTANT_LOADER_H_ | 137 #endif // CHROME_BROWSER_UI_SEARCH_INSTANT_LOADER_H_ |
OLD | NEW |