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

Unified Diff: chrome/browser/gtk/first_run_bubble.cc

Issue 2822026: Mac: First run bubble. (Closed)
Patch Set: '' Created 10 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
Index: chrome/browser/gtk/first_run_bubble.cc
diff --git a/chrome/browser/gtk/first_run_bubble.cc b/chrome/browser/gtk/first_run_bubble.cc
index e86df980464ae8145cc876ceb6bd6157b7880ffa..e169acaf3bbbc3eb7e0da48c8a5332b0bdeec8f2 100644
--- a/chrome/browser/gtk/first_run_bubble.cc
+++ b/chrome/browser/gtk/first_run_bubble.cc
@@ -12,7 +12,7 @@
#include "base/utf_string_conversions.h"
#include "chrome/browser/gtk/gtk_theme_provider.h"
#include "chrome/browser/options_window.h"
-#include "chrome/browser/search_engines/template_url_model.h"
+#include "chrome/browser/search_engines/util.h"
#include "chrome/common/notification_service.h"
#include "gfx/gtk_util.h"
#include "grit/chromium_strings.h"
@@ -28,19 +28,6 @@ const int kButtonPadding = 4;
// Padding between content and edge of info bubble.
const int kContentBorder = 7;
-
-string16 GetDefaultSearchEngineName(Profile* profile) {
- if (!profile) {
- NOTREACHED();
- return string16();
- }
- const TemplateURL* const default_provider =
- profile->GetTemplateURLModel()->GetDefaultSearchProvider();
- if (!default_provider) {
- return string16();
- }
- return WideToUTF16(default_provider->short_name());
-}
} // namespace
// static

Powered by Google App Engine
This is Rietveld 408576698