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

Unified Diff: chrome/browser/extensions/app_notify_channel_ui_android.cc

Issue 10700202: Add Android stub implementation for AppNotifyChannelUI (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added a Create method to the interface 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/extensions/app_notify_channel_ui_android.cc
diff --git a/chrome/browser/extensions/app_notify_channel_ui_android.cc b/chrome/browser/extensions/app_notify_channel_ui_android.cc
new file mode 100644
index 0000000000000000000000000000000000000000..5ded39d95fe04679132b45d56b4ff3737c724d8e
--- /dev/null
+++ b/chrome/browser/extensions/app_notify_channel_ui_android.cc
@@ -0,0 +1,27 @@
+// 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.
+
+#include "chrome/browser/extensions/app_notify_channel_ui_android.h"
+
+#include "base/logging.h"
+#include "chrome/browser/profiles/profile.h"
+#include "chrome/browser/ui/tab_contents/tab_contents.h"
+
+AppNotifyChannelUIAndroid::AppNotifyChannelUIAndroid() {}
+
+AppNotifyChannelUIAndroid::~AppNotifyChannelUIAndroid() {
+}
+
+// static
+AppNotifyChannelUI* AppNotifyChannelUI::Create(Profile* profile,
+ TabContents* tab_contents,
+ const std::string& app_name,
+ AppNotifyChannelUI::UIType ui_type) {
+ return new AppNotifyChannelUIAndroid();
+}
+
+void AppNotifyChannelUIAndroid::PromptSyncSetup(
+ AppNotifyChannelUI::Delegate* delegate) {
+ NOTIMPLEMENTED();
+}
« no previous file with comments | « chrome/browser/extensions/app_notify_channel_ui_android.h ('k') | chrome/browser/extensions/app_notify_channel_ui_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698