Chromium Code Reviews| 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 |