summaryrefslogtreecommitdiffstats
path: root/chrome/browser/search_engines/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/search_engines/util.h')
-rw-r--r--chrome/browser/search_engines/util.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/chrome/browser/search_engines/util.h b/chrome/browser/search_engines/util.h
new file mode 100644
index 0000000..07f059c
--- /dev/null
+++ b/chrome/browser/search_engines/util.h
@@ -0,0 +1,18 @@
+// Copyright (c) 2010 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.
+
+#ifndef CHROME_BROWSER_SEARCH_ENGINES_UTIL_H_
+#define CHROME_BROWSER_SEARCH_ENGINES_UTIL_H_
+
+// This file contains utility functions for search engine functionality.
+
+#include "base/string16.h"
+
+class Profile;
+
+// Returns the short name of the default search engine, or the empty string if
+// none is set. |profile| may be NULL.
+string16 GetDefaultSearchEngineName(Profile* profile);
+
+#endif // CHROME_BROWSER_SEARCH_ENGINES_UTIL_H_