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

Unified Diff: chrome/browser/google/google_url_tracker_navigation_helper_impl.h

Issue 808253006: Remove the GoogleURLTracker infobar functionality entirely. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Resync Created 5 years, 11 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/google/google_url_tracker_navigation_helper_impl.h
diff --git a/chrome/browser/google/google_url_tracker_navigation_helper_impl.h b/chrome/browser/google/google_url_tracker_navigation_helper_impl.h
deleted file mode 100644
index a0a33598368e6c620d040adbad35a23db627597e..0000000000000000000000000000000000000000
--- a/chrome/browser/google/google_url_tracker_navigation_helper_impl.h
+++ /dev/null
@@ -1,46 +0,0 @@
-// Copyright (c) 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_GOOGLE_GOOGLE_URL_TRACKER_NAVIGATION_HELPER_IMPL_H_
-#define CHROME_BROWSER_GOOGLE_GOOGLE_URL_TRACKER_NAVIGATION_HELPER_IMPL_H_
-
-#include "components/google/core/browser/google_url_tracker_navigation_helper.h"
-#include "content/public/browser/notification_observer.h"
-#include "content/public/browser/notification_registrar.h"
-#include "url/gurl.h"
-
-namespace content {
-class WebContents;
-}
-
-class GoogleURLTrackerNavigationHelperImpl
- : public GoogleURLTrackerNavigationHelper,
- public content::NotificationObserver {
- public:
- GoogleURLTrackerNavigationHelperImpl(content::WebContents* web_contents,
- GoogleURLTracker* tracker);
- ~GoogleURLTrackerNavigationHelperImpl() override;
-
- // GoogleURLTrackerNavigationHelper:
- void SetListeningForNavigationCommit(bool listen) override;
- bool IsListeningForNavigationCommit() override;
- void SetListeningForTabDestruction(bool listen) override;
- bool IsListeningForTabDestruction() override;
- void OpenURL(GURL url,
- WindowOpenDisposition disposition,
- bool user_clicked_on_link) override;
-
- private:
- // content::NotificationObserver:
- void Observe(int type,
- const content::NotificationSource& source,
- const content::NotificationDetails& details) override;
-
- content::WebContents* web_contents_;
- content::NotificationRegistrar registrar_;
-
- DISALLOW_COPY_AND_ASSIGN(GoogleURLTrackerNavigationHelperImpl);
-};
-
-#endif // CHROME_BROWSER_GOOGLE_GOOGLE_URL_TRACKER_NAVIGATION_HELPER_IMPL_H_

Powered by Google App Engine
This is Rietveld 408576698