1 // Copyright 2015 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.
5 #include "chrome/browser/extensions/api/instance_id/instance_id_api.h"
7 #include "base/logging.h"
8 #include "extensions/common/extension.h"
10 namespace extensions
{
12 InstanceIDGetIDFunction::InstanceIDGetIDFunction() {}
14 InstanceIDGetIDFunction::~InstanceIDGetIDFunction() {}
16 ExtensionFunction::ResponseAction
InstanceIDGetIDFunction::Run() {
18 return RespondLater();
21 InstanceIDGetCreationTimeFunction::InstanceIDGetCreationTimeFunction() {}
23 InstanceIDGetCreationTimeFunction::~InstanceIDGetCreationTimeFunction() {}
25 ExtensionFunction::ResponseAction
InstanceIDGetCreationTimeFunction::Run() {
27 return RespondLater();
30 InstanceIDGetTokenFunction::InstanceIDGetTokenFunction() {}
32 InstanceIDGetTokenFunction::~InstanceIDGetTokenFunction() {}
34 ExtensionFunction::ResponseAction
InstanceIDGetTokenFunction::Run() {
36 return RespondLater();
39 InstanceIDDeleteTokenFunction::InstanceIDDeleteTokenFunction() {}
41 InstanceIDDeleteTokenFunction::~InstanceIDDeleteTokenFunction() {}
43 ExtensionFunction::ResponseAction
InstanceIDDeleteTokenFunction::Run() {
45 return RespondLater();
48 InstanceIDDeleteIDFunction::InstanceIDDeleteIDFunction() {}
50 InstanceIDDeleteIDFunction::~InstanceIDDeleteIDFunction() {}
52 ExtensionFunction::ResponseAction
InstanceIDDeleteIDFunction::Run() {
54 return RespondLater();
57 } // namespace extensions