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

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: Created 6 years, 8 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..b37058cab17ed8d4ef19ea1e5b3d2be4b28e4b36
--- /dev/null
+++ b/chrome/browser/extensions/api/synced_notifications_private/synced_notifications_private_api.cc
@@ -0,0 +1,64 @@
+// 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::RunImpl() {
+ SetError("Not Implemented");
+ return false;
+}
+
+SyncedNotificationsPrivateUpdateNotificationFunction::
+ SyncedNotificationsPrivateUpdateNotificationFunction() {
+}
+
+SyncedNotificationsPrivateUpdateNotificationFunction::
+ ~SyncedNotificationsPrivateUpdateNotificationFunction() {
+}
+
+bool SyncedNotificationsPrivateUpdateNotificationFunction::RunImpl() {
+ // Get parameters
not at google - send to devlin 2014/05/02 21:37:38 these "Get parameters" comments don't seem helpful
dewittj 2014/05/03 00:07:49 Done.
+ 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::RunImpl() {
+ // Get parameters
+ 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