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

Unified Diff: chrome/browser/extensions/api/synced_notifications_private/synced_notifications_private_api.cc

Issue 267863005: Adds syncedNotificationsPrivate API IDL. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge histograms again... Created 6 years, 7 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/api/synced_notifications_private/synced_notifications_private_api.cc
diff --git a/chrome/browser/extensions/api/synced_notifications_private/synced_notifications_private_api.cc b/chrome/browser/extensions/api/synced_notifications_private/synced_notifications_private_api.cc
new file mode 100644
index 0000000000000000000000000000000000000000..46a8f6605d855b6a8790976efc093bb05cfae7c2
--- /dev/null
+++ b/chrome/browser/extensions/api/synced_notifications_private/synced_notifications_private_api.cc
@@ -0,0 +1,67 @@
+// Copyright 2014 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/api/synced_notifications_private/synced_notifications_private_api.h"
+
+namespace extensions {
+namespace api {
+
+SyncedNotificationsPrivateGetInitialDataFunction::
+ SyncedNotificationsPrivateGetInitialDataFunction() {
+}
+
+SyncedNotificationsPrivateGetInitialDataFunction::
+ ~SyncedNotificationsPrivateGetInitialDataFunction() {
+}
+
+bool SyncedNotificationsPrivateGetInitialDataFunction::RunSync() {
+ scoped_ptr<api::synced_notifications_private::GetInitialData::Params> params(
+ api::synced_notifications_private::GetInitialData::Params::Create(
+ *args_));
+ EXTENSION_FUNCTION_VALIDATE(params.get());
+
+ SetError("Not Implemented");
+ return false;
+}
+
+SyncedNotificationsPrivateUpdateNotificationFunction::
+ SyncedNotificationsPrivateUpdateNotificationFunction() {
+}
+
+SyncedNotificationsPrivateUpdateNotificationFunction::
+ ~SyncedNotificationsPrivateUpdateNotificationFunction() {
+}
+
+bool SyncedNotificationsPrivateUpdateNotificationFunction::RunSync() {
+ scoped_ptr<api::synced_notifications_private::UpdateNotification::Params>
+ params(
+ api::synced_notifications_private::UpdateNotification::Params::Create(
+ *args_));
+ EXTENSION_FUNCTION_VALIDATE(params.get());
+
+ SetError("Not Implemented");
+ return false;
+}
+
+SyncedNotificationsPrivateSetRenderContextFunction::
+ SyncedNotificationsPrivateSetRenderContextFunction() {
+}
+
+SyncedNotificationsPrivateSetRenderContextFunction::
+ ~SyncedNotificationsPrivateSetRenderContextFunction() {
+}
+
+bool SyncedNotificationsPrivateSetRenderContextFunction::RunSync() {
+ scoped_ptr<api::synced_notifications_private::SetRenderContext::Params>
+ params(
+ api::synced_notifications_private::SetRenderContext::Params::Create(
+ *args_));
+ EXTENSION_FUNCTION_VALIDATE(params.get());
+
+ SetError("Not Implemented");
+ return false;
+}
+
+} // namespace api
+} // namespace extensions

Powered by Google App Engine
This is Rietveld 408576698