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

Unified Diff: chrome/browser/instant/instant_preview_controller.cc

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, 10 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/instant/instant_preview_controller.cc
diff --git a/chrome/browser/instant/instant_preview_controller.cc b/chrome/browser/instant/instant_preview_controller.cc
deleted file mode 100644
index a728fc81abd1077753120cf25a3a17d12b9f10d0..0000000000000000000000000000000000000000
--- a/chrome/browser/instant/instant_preview_controller.cc
+++ /dev/null
@@ -1,19 +0,0 @@
-// 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.
-
-#include "chrome/browser/instant/instant_preview_controller.h"
-
-#include "chrome/browser/ui/browser.h"
-#include "chrome/browser/ui/browser_instant_controller.h"
-
-InstantPreviewController::InstantPreviewController(Browser* browser)
- : browser_(browser) {
- if (browser_->instant_controller())
- browser_->instant_controller()->instant()->model()->AddObserver(this);
-}
-
-InstantPreviewController::~InstantPreviewController() {
- if (browser_->instant_controller())
- browser_->instant_controller()->instant()->model()->RemoveObserver(this);
-}

Powered by Google App Engine
This is Rietveld 408576698