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

Unified Diff: chrome/browser/search/contextual_search_promo_source_android.h

Issue 450543002: Make ContextualSearchPromoSource Android-only. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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/search/contextual_search_promo_source_android.h
diff --git a/chrome/browser/search/contextual_search_promo_source.h b/chrome/browser/search/contextual_search_promo_source_android.h
similarity index 76%
rename from chrome/browser/search/contextual_search_promo_source.h
rename to chrome/browser/search/contextual_search_promo_source_android.h
index c8b362da821a62e84295168f1af6c8f03ded4df6..0ca5b1b6a64db1550658780eb4ce3539fedbba17 100644
--- a/chrome/browser/search/contextual_search_promo_source.h
+++ b/chrome/browser/search/contextual_search_promo_source_android.h
@@ -2,18 +2,18 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_BROWSER_SEARCH_CONTEXTUAL_SEARCH_PROMO_SOURCE_H_
-#define CHROME_BROWSER_SEARCH_CONTEXTUAL_SEARCH_PROMO_SOURCE_H_
+#ifndef CHROME_BROWSER_SEARCH_CONTEXTUAL_SEARCH_PROMO_SOURCE_ANDROID_H_
+#define CHROME_BROWSER_SEARCH_CONTEXTUAL_SEARCH_PROMO_SOURCE_ANDROID_H_
#include "base/basictypes.h"
#include "base/compiler_specific.h"
#include "content/public/browser/url_data_source.h"
// Serves HTML for displaying the contextual search first-run promo.
-class ContextualSearchPromoSource : public content::URLDataSource {
+class ContextualSearchPromoSourceAndroid : public content::URLDataSource {
public:
- ContextualSearchPromoSource();
- virtual ~ContextualSearchPromoSource();
+ ContextualSearchPromoSourceAndroid();
+ virtual ~ContextualSearchPromoSourceAndroid();
protected:
// Overridden from content::URLDataSource:
@@ -38,7 +38,7 @@ class ContextualSearchPromoSource : public content::URLDataSource {
const content::URLDataSource::GotDataCallback& callback);
private:
- DISALLOW_COPY_AND_ASSIGN(ContextualSearchPromoSource);
+ DISALLOW_COPY_AND_ASSIGN(ContextualSearchPromoSourceAndroid);
};
-#endif // CHROME_BROWSER_SEARCH_CONTEXTUAL_SEARCH_PROMO_SOURCE_H_
+#endif // CHROME_BROWSER_SEARCH_CONTEXTUAL_SEARCH_PROMO_SOURCE_ANDROID_H_

Powered by Google App Engine
This is Rietveld 408576698