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

Side by Side 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, 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "chrome/browser/extensions/api/synced_notifications_private/synced_noti fications_private_api.h"
6
7 namespace extensions {
8 namespace api {
9
10 SyncedNotificationsPrivateGetInitialDataFunction::
11 SyncedNotificationsPrivateGetInitialDataFunction() {
12 }
13
14 SyncedNotificationsPrivateGetInitialDataFunction::
15 ~SyncedNotificationsPrivateGetInitialDataFunction() {
16 }
17
18 bool SyncedNotificationsPrivateGetInitialDataFunction::RunImpl() {
19 SetError("Not Implemented");
20 return false;
21 }
22
23 SyncedNotificationsPrivateUpdateNotificationFunction::
24 SyncedNotificationsPrivateUpdateNotificationFunction() {
25 }
26
27 SyncedNotificationsPrivateUpdateNotificationFunction::
28 ~SyncedNotificationsPrivateUpdateNotificationFunction() {
29 }
30
31 bool SyncedNotificationsPrivateUpdateNotificationFunction::RunImpl() {
32 // 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.
33 scoped_ptr<api::synced_notifications_private::UpdateNotification::Params>
34 params(
35 api::synced_notifications_private::UpdateNotification::Params::Create(
36 *args_));
37 EXTENSION_FUNCTION_VALIDATE(params.get());
38
39 SetError("Not Implemented");
40 return false;
41 }
42
43 SyncedNotificationsPrivateSetRenderContextFunction::
44 SyncedNotificationsPrivateSetRenderContextFunction() {
45 }
46
47 SyncedNotificationsPrivateSetRenderContextFunction::
48 ~SyncedNotificationsPrivateSetRenderContextFunction() {
49 }
50
51 bool SyncedNotificationsPrivateSetRenderContextFunction::RunImpl() {
52 // Get parameters
53 scoped_ptr<api::synced_notifications_private::SetRenderContext::Params>
54 params(
55 api::synced_notifications_private::SetRenderContext::Params::Create(
56 *args_));
57 EXTENSION_FUNCTION_VALIDATE(params.get());
58
59 SetError("Not Implemented");
60 return false;
61 }
62
63 } // namespace api
64 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698