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

Unified Diff: components/search/search_switches.h

Issue 393173002: Moves some functions in search.h to components. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: gn Created 6 years, 5 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: components/search/search_switches.h
diff --git a/ui/gfx/x/x11_switches.h b/components/search/search_switches.h
similarity index 51%
copy from ui/gfx/x/x11_switches.h
copy to components/search/search_switches.h
index 4044c514154fff25385159f00dddbcb0d2b67c2b..72e8fe0fa0ad950ebfe87cc45d80a61e24ad6a41 100644
--- a/ui/gfx/x/x11_switches.h
+++ b/components/search/search_switches.h
@@ -2,17 +2,15 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef UI_GFX_X_X11_SWITCHES_H_
-#define UI_GFX_X_X11_SWITCHES_H_
-
-#include "ui/gfx/gfx_export.h"
+#ifndef COMPONENTS_SEARCH_SEARCH_SWITCHES_H_
+#define COMPONENTS_SEARCH_SEARCH_SWITCHES_H_
namespace switches {
-#if !defined(OS_CHROMEOS)
-GFX_EXPORT extern const char kX11Display[];
+#if defined(OS_ANDROID)
+extern const char kEnableEmbeddedSearchAPI[];
#endif
} // namespace switches
-#endif // UI_GFX_X_X11_SWITCHES_H_
+#endif // COMPONENTS_SEARCH_SEARCH_SWITCHES_H_

Powered by Google App Engine
This is Rietveld 408576698