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

Unified Diff: chrome/browser/google/google_profile_helper.cc

Issue 896943002: Use UIThreadSearchTermsData to get the Google base URL. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Compile fixes Created 5 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/google/google_profile_helper.cc
diff --git a/chrome/browser/google/google_profile_helper.cc b/chrome/browser/google/google_profile_helper.cc
deleted file mode 100644
index d2166220eae4f641a62c621181a0997ebe97b889..0000000000000000000000000000000000000000
--- a/chrome/browser/google/google_profile_helper.cc
+++ /dev/null
@@ -1,21 +0,0 @@
-// Copyright 2014 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/google/google_profile_helper.h"
-
-#include "chrome/browser/google/google_url_tracker_factory.h"
-#include "components/google/core/browser/google_url_tracker.h"
-#include "components/google/core/browser/google_util.h"
-#include "url/gurl.h"
-
-namespace google_profile_helper {
-
-GURL GetGoogleHomePageURL(Profile* profile) {
- const GoogleURLTracker* tracker =
- GoogleURLTrackerFactory::GetForProfile(profile);
- return tracker ?
- tracker->google_url() : GURL(GoogleURLTracker::kDefaultGoogleHomepage);
-}
-
-} // namespace google_profile_helper
« no previous file with comments | « chrome/browser/google/google_profile_helper.h ('k') | chrome/browser/search_engines/ui_thread_search_terms_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698