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

Unified Diff: components/google/core/browser/google_url_tracker.h

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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/google/core/browser/DEPS ('k') | components/google/core/browser/google_url_tracker.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/google/core/browser/google_url_tracker.h
diff --git a/chrome/browser/google/google_url_tracker.h b/components/google/core/browser/google_url_tracker.h
similarity index 95%
rename from chrome/browser/google/google_url_tracker.h
rename to components/google/core/browser/google_url_tracker.h
index c87a83ff9bcbc628b887916acfbcfc56195dab2d..0fdd63764b3e86818aaa57c3180fbf147f871598 100644
--- a/chrome/browser/google/google_url_tracker.h
+++ b/components/google/core/browser/google_url_tracker.h
@@ -2,8 +2,8 @@
// 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_H_
-#define CHROME_BROWSER_GOOGLE_GOOGLE_URL_TRACKER_H_
+#ifndef COMPONENTS_GOOGLE_CORE_BROWSER_GOOGLE_URL_TRACKER_H_
+#define COMPONENTS_GOOGLE_CORE_BROWSER_GOOGLE_URL_TRACKER_H_
#include <map>
#include <string>
@@ -14,14 +14,14 @@
#include "base/gtest_prod_util.h"
#include "base/memory/scoped_ptr.h"
#include "base/memory/weak_ptr.h"
-#include "chrome/browser/google/google_url_tracker_map_entry.h"
+#include "components/google/core/browser/google_url_tracker_client.h"
+#include "components/google/core/browser/google_url_tracker_map_entry.h"
#include "components/keyed_service/core/keyed_service.h"
#include "net/base/network_change_notifier.h"
#include "net/url_request/url_fetcher.h"
#include "net/url_request/url_fetcher_delegate.h"
#include "url/gurl.h"
-class GoogleURLTrackerClient;
class GoogleURLTrackerNavigationHelper;
class PrefService;
@@ -86,6 +86,7 @@ class GoogleURLTracker : public net::URLFetcherDelegate,
void AcceptGoogleURL(bool redo_searches);
void CancelGoogleURL();
const GURL& fetched_google_url() const { return fetched_google_url_; }
+ GoogleURLTrackerClient* client() { return client_.get(); }
// No one but GoogleURLTrackerMapEntry should call this.
void DeleteMapEntryForManager(
@@ -192,4 +193,4 @@ class GoogleURLTracker : public net::URLFetcherDelegate,
DISALLOW_COPY_AND_ASSIGN(GoogleURLTracker);
};
-#endif // CHROME_BROWSER_GOOGLE_GOOGLE_URL_TRACKER_H_
+#endif // COMPONENTS_GOOGLE_CORE_BROWSER_GOOGLE_URL_TRACKER_H_
« no previous file with comments | « components/google/core/browser/DEPS ('k') | components/google/core/browser/google_url_tracker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698