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

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: 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 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::RunSync() {
19 scoped_ptr<api::synced_notifications_private::GetInitialData::Params> params(
20 api::synced_notifications_private::GetInitialData::Params::Create(
21 *args_));
22 EXTENSION_FUNCTION_VALIDATE(params.get());
23
24 SetError("Not Implemented");
25 return false;
26 }
27
28 SyncedNotificationsPrivateUpdateNotificationFunction::
29 SyncedNotificationsPrivateUpdateNotificationFunction() {
30 }
31
32 SyncedNotificationsPrivateUpdateNotificationFunction::
33 ~SyncedNotificationsPrivateUpdateNotificationFunction() {
34 }
35
36 bool SyncedNotificationsPrivateUpdateNotificationFunction::RunSync() {
37 scoped_ptr<api::synced_notifications_private::UpdateNotification::Params>
38 params(
39 api::synced_notifications_private::UpdateNotification::Params::Create(
40 *args_));
41 EXTENSION_FUNCTION_VALIDATE(params.get());
42
43 SetError("Not Implemented");
44 return false;
45 }
46
47 SyncedNotificationsPrivateSetRenderContextFunction::
48 SyncedNotificationsPrivateSetRenderContextFunction() {
49 }
50
51 SyncedNotificationsPrivateSetRenderContextFunction::
52 ~SyncedNotificationsPrivateSetRenderContextFunction() {
53 }
54
55 bool SyncedNotificationsPrivateSetRenderContextFunction::RunSync() {
56 scoped_ptr<api::synced_notifications_private::SetRenderContext::Params>
57 params(
58 api::synced_notifications_private::SetRenderContext::Params::Create(
59 *args_));
60 EXTENSION_FUNCTION_VALIDATE(params.get());
61
62 SetError("Not Implemented");
63 return false;
64 }
65
66 } // namespace api
67 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698