Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1442)

Unified Diff: chrome/browser/ui/webui/instant_ui.h

Issue 12386019: Instant: Use only one hidden WebContents per profile. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/webui/instant_ui.h
diff --git a/chrome/browser/ui/webui/instant_ui.h b/chrome/browser/ui/webui/instant_ui.h
index f050d132668d0b25606ca8a8462574e6af0aaa7e..786b87c810cda812f2502365321f4dc1b523288d 100644
--- a/chrome/browser/ui/webui/instant_ui.h
+++ b/chrome/browser/ui/webui/instant_ui.h
@@ -1,26 +1,23 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Copyright 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_UI_WEBUI_INSTANT_UI_H_
#define CHROME_BROWSER_UI_WEBUI_INSTANT_UI_H_
+#include "base/basictypes.h"
#include "content/public/browser/web_ui_controller.h"
-class PrefRegistrySyncable;
-
namespace content {
-class BrowserContext;
+class WebUI;
}
-// Provides configuration options for Instant web search and shows debug info.
+// Shows debug information for Instant.
class InstantUI : public content::WebUIController {
public:
- // Constructs an instance using |web_ui| for its data sources and message
- // handlers.
+ // Creates an instance using |web_ui| for data sources and message handlers.
explicit InstantUI(content::WebUI* web_ui);
-
- static void RegisterUserPrefs(PrefRegistrySyncable* registry);
+ virtual ~InstantUI();
private:
DISALLOW_COPY_AND_ASSIGN(InstantUI);

Powered by Google App Engine
This is Rietveld 408576698