| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_CONTROLLER_H_ | 5 #ifndef CHROME_BROWSER_INSTANT_INSTANT_CONTROLLER_H_ |
| 6 #define CHROME_BROWSER_INSTANT_INSTANT_CONTROLLER_H_ | 6 #define CHROME_BROWSER_INSTANT_INSTANT_CONTROLLER_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <set> | 9 #include <set> |
| 10 #include <string> | 10 #include <string> |
| 11 | 11 |
| 12 #include "base/basictypes.h" | 12 #include "base/basictypes.h" |
| 13 #include "base/scoped_ptr.h" | 13 #include "base/scoped_ptr.h" |
| 14 #include "base/scoped_vector.h" | 14 #include "base/scoped_vector.h" |
| 15 #include "base/string16.h" | 15 #include "base/string16.h" |
| 16 #include "base/task.h" | 16 #include "base/task.h" |
| 17 #include "base/timer.h" | 17 #include "base/timer.h" |
| 18 #include "chrome/browser/instant/instant_commit_type.h" | 18 #include "chrome/browser/instant/instant_commit_type.h" |
| 19 #include "chrome/browser/instant/instant_loader_delegate.h" | 19 #include "chrome/browser/instant/instant_loader_delegate.h" |
| 20 #include "chrome/browser/search_engines/template_url_id.h" | 20 #include "chrome/browser/search_engines/template_url_id.h" |
| 21 #include "chrome/common/instant_types.h" | 21 #include "chrome/common/instant_types.h" |
| 22 #include "chrome/common/page_transition_types.h" | 22 #include "content/common/page_transition_types.h" |
| 23 #include "googleurl/src/gurl.h" | 23 #include "googleurl/src/gurl.h" |
| 24 #include "ui/gfx/native_widget_types.h" | 24 #include "ui/gfx/native_widget_types.h" |
| 25 #include "ui/gfx/rect.h" | 25 #include "ui/gfx/rect.h" |
| 26 | 26 |
| 27 struct AutocompleteMatch; | 27 struct AutocompleteMatch; |
| 28 class InstantDelegate; | 28 class InstantDelegate; |
| 29 class InstantLoader; | 29 class InstantLoader; |
| 30 class InstantLoaderManager; | 30 class InstantLoaderManager; |
| 31 class InstantTest; | 31 class InstantTest; |
| 32 class PrefService; | 32 class PrefService; |
| (...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 285 ScopedVector<InstantLoader> loaders_to_destroy_; | 285 ScopedVector<InstantLoader> loaders_to_destroy_; |
| 286 | 286 |
| 287 // The set of hosts that we don't use instant with. This is shared across all | 287 // The set of hosts that we don't use instant with. This is shared across all |
| 288 // instances and only maintained for the current session. | 288 // instances and only maintained for the current session. |
| 289 static HostBlacklist* host_blacklist_; | 289 static HostBlacklist* host_blacklist_; |
| 290 | 290 |
| 291 DISALLOW_COPY_AND_ASSIGN(InstantController); | 291 DISALLOW_COPY_AND_ASSIGN(InstantController); |
| 292 }; | 292 }; |
| 293 | 293 |
| 294 #endif // CHROME_BROWSER_INSTANT_INSTANT_CONTROLLER_H_ | 294 #endif // CHROME_BROWSER_INSTANT_INSTANT_CONTROLLER_H_ |
| OLD | NEW |