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

Unified Diff: chrome/browser/ui/intents/web_intent_picker_controller_android.h

Issue 10696072: Fix web-intent-related unit_tests linking issues on Android. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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: chrome/browser/ui/intents/web_intent_picker_controller_android.h
diff --git a/chrome/browser/ui/intents/web_intent_picker_controller_android.h b/chrome/browser/ui/intents/web_intent_picker_controller_android.h
new file mode 100644
index 0000000000000000000000000000000000000000..1911d48b45c3b42499e0591ef334f8cd31b1a8d8
--- /dev/null
+++ b/chrome/browser/ui/intents/web_intent_picker_controller_android.h
@@ -0,0 +1,24 @@
+// Copyright (c) 2012 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_UI_INTENTS_WEB_INTENT_PICKER_CONTROLLER_ANDROID_H_
+#define CHROME_BROWSER_UI_INTENTS_WEB_INTENT_PICKER_CONTROLLER_ANDROID_H_
+
+#include "base/string16.h"
+
+namespace content {
+class WebContentsObserver;
+class WebIntentsDispatcher;
+}
+
+// Minimalist dummy implementation of WebIntentPickerController for Android.
+class WebIntentPickerController {
+ public:
+ explicit WebIntentPickerController(content::WebContentsObserver*) {}
+
+ void SetIntentsDispatcher(content::WebIntentsDispatcher*) {}
+ void ShowDialog(const string16&, const string16&) {}
+};
+
+#endif // CHROME_BROWSER_UI_INTENTS_WEB_INTENT_PICKER_CONTROLLER_ANDROID_H_

Powered by Google App Engine
This is Rietveld 408576698