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

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

Issue 10700202: Add Android stub implementation for AppNotifyChannelUI (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/extensions/app_notify_channel_ui_impl.cc
diff --git a/chrome/browser/extensions/app_notify_channel_ui.cc b/chrome/browser/extensions/app_notify_channel_ui_impl.cc
similarity index 98%
rename from chrome/browser/extensions/app_notify_channel_ui.cc
rename to chrome/browser/extensions/app_notify_channel_ui_impl.cc
index f4bd4b04c9b6a970a9d3f2c4c1f0c65749720f72..3f8b91c08c3ca05852ef2d25f6910d40d01a2416 100644
--- a/chrome/browser/extensions/app_notify_channel_ui.cc
+++ b/chrome/browser/extensions/app_notify_channel_ui_impl.cc
@@ -2,7 +2,7 @@
// 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.h"
+#include "chrome/browser/extensions/app_notify_channel_ui_impl.h"
#include "base/utf_string_conversions.h"
#include "chrome/browser/infobars/infobar_tab_helper.h"
@@ -164,7 +164,6 @@ void AppNotifyChannelUIImpl::OnInfoBarResult(bool accepted) {
}
void AppNotifyChannelUIImpl::OnStateChanged() {
-#if !defined(OS_ANDROID)
ProfileSyncService* sync_service =
ProfileSyncServiceFactory::GetInstance()->GetForProfile(profile_);
LoginUIService* login_service =
@@ -183,7 +182,6 @@ void AppNotifyChannelUIImpl::OnStateChanged() {
StopObservingSync();
delegate_->OnSyncSetupResult(sync_service->HasSyncSetupCompleted());
}
-#endif // !defined(OS_ANDROID)
}
void AppNotifyChannelUIImpl::StartObservingSync() {

Powered by Google App Engine
This is Rietveld 408576698