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

Side by Side Diff: chrome/browser/google/chrome_google_url_tracker_client.h

Issue 285193002: Create GoogleURLTrackerClient interface and //chrome implementation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 7 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/google/chrome_google_url_tracker_client.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_GOOGLE_CHROME_GOOGLE_URL_TRACKER_CLIENT_H_
6 #define CHROME_BROWSER_GOOGLE_CHROME_GOOGLE_URL_TRACKER_CLIENT_H_
7
8 #include "components/google/core/browser/google_url_tracker_client.h"
9 #include "content/public/browser/notification_observer.h"
10 #include "content/public/browser/notification_registrar.h"
11
12 class ChromeGoogleURLTrackerClient : public GoogleURLTrackerClient,
13 public content::NotificationObserver {
14 public:
15 ChromeGoogleURLTrackerClient();
16 virtual ~ChromeGoogleURLTrackerClient();
17
18 // GoogleURLTrackerClient:
19 virtual void SetListeningForNavigationStart(bool listen) OVERRIDE;
20 virtual bool IsListeningForNavigationStart() OVERRIDE;
21
22 private:
23 // content::NotificationObserver:
24 virtual void Observe(int type,
25 const content::NotificationSource& source,
26 const content::NotificationDetails& details) OVERRIDE;
27
28 content::NotificationRegistrar registrar_;
29
30 DISALLOW_COPY_AND_ASSIGN(ChromeGoogleURLTrackerClient);
31 };
32
33 #endif // CHROME_BROWSER_GOOGLE_CHROME_GOOGLE_URL_TRACKER_CLIENT_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/google/chrome_google_url_tracker_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698