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

Side by Side Diff: chrome/browser/google/google_url_tracker_navigation_helper_impl.cc

Issue 316203003: Componentize GoogleURLTracker(InfoBarDelegate,MapEntry,NavHelper) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Nits Created 6 years, 6 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #include "chrome/browser/google/google_url_tracker_navigation_helper_impl.h" 5 #include "chrome/browser/google/google_url_tracker_navigation_helper_impl.h"
6 6
7 #include "chrome/browser/chrome_notification_types.h" 7 #include "chrome/browser/chrome_notification_types.h"
8 #include "chrome/browser/google/google_url_tracker.h"
9 #include "chrome/browser/infobars/infobar_service.h" 8 #include "chrome/browser/infobars/infobar_service.h"
9 #include "components/google/core/browser/google_url_tracker.h"
10 #include "content/public/browser/navigation_controller.h" 10 #include "content/public/browser/navigation_controller.h"
11 #include "content/public/browser/navigation_entry.h" 11 #include "content/public/browser/navigation_entry.h"
12 #include "content/public/browser/notification_service.h" 12 #include "content/public/browser/notification_service.h"
13 #include "content/public/browser/web_contents.h" 13 #include "content/public/browser/web_contents.h"
14 14
15 GoogleURLTrackerNavigationHelperImpl::GoogleURLTrackerNavigationHelperImpl( 15 GoogleURLTrackerNavigationHelperImpl::GoogleURLTrackerNavigationHelperImpl(
16 content::WebContents* web_contents, 16 content::WebContents* web_contents,
17 GoogleURLTracker* tracker) 17 GoogleURLTracker* tracker)
18 : GoogleURLTrackerNavigationHelper(tracker), 18 : GoogleURLTrackerNavigationHelper(tracker),
19 web_contents_(web_contents) { 19 web_contents_(web_contents) {
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 DCHECK_EQ(web_contents_, 104 DCHECK_EQ(web_contents_,
105 content::Source<content::WebContents>(source).ptr()); 105 content::Source<content::WebContents>(source).ptr());
106 google_url_tracker()->OnTabClosed(this); 106 google_url_tracker()->OnTabClosed(this);
107 break; 107 break;
108 } 108 }
109 109
110 default: 110 default:
111 NOTREACHED() << "Unknown notification received:" << type; 111 NOTREACHED() << "Unknown notification received:" << type;
112 } 112 }
113 } 113 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698