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

Unified Diff: chrome/browser/extensions/api/instance_id/instance_id_api.cc

Issue 1088593004: Add the IDL for chrome.instanceID API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Sync Created 5 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/instance_id/instance_id_api.cc
diff --git a/chrome/browser/extensions/api/instance_id/instance_id_api.cc b/chrome/browser/extensions/api/instance_id/instance_id_api.cc
new file mode 100644
index 0000000000000000000000000000000000000000..4098e10959ad0c5446023ce788b9ebe9825704ee
--- /dev/null
+++ b/chrome/browser/extensions/api/instance_id/instance_id_api.cc
@@ -0,0 +1,57 @@
+// Copyright 2015 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/instance_id/instance_id_api.h"
+
+#include "base/logging.h"
+#include "extensions/common/extension.h"
+
+namespace extensions {
+
+InstanceIDGetIDFunction::InstanceIDGetIDFunction() {}
+
+InstanceIDGetIDFunction::~InstanceIDGetIDFunction() {}
+
+bool InstanceIDGetIDFunction::RunAsync() {
+ NOTIMPLEMENTED();
+ return false;
+}
+
+InstanceIDGetCreationTimeFunction::InstanceIDGetCreationTimeFunction() {}
+
+InstanceIDGetCreationTimeFunction::~InstanceIDGetCreationTimeFunction() {}
+
+bool InstanceIDGetCreationTimeFunction::RunAsync() {
+ NOTIMPLEMENTED();
+ return false;
+}
+
+InstanceIDGetTokenFunction::InstanceIDGetTokenFunction() {}
+
+InstanceIDGetTokenFunction::~InstanceIDGetTokenFunction() {}
+
+bool InstanceIDGetTokenFunction::RunAsync() {
+ NOTIMPLEMENTED();
+ return false;
+}
+
+InstanceIDDeleteTokenFunction::InstanceIDDeleteTokenFunction() {}
+
+InstanceIDDeleteTokenFunction::~InstanceIDDeleteTokenFunction() {}
+
+bool InstanceIDDeleteTokenFunction::RunAsync() {
+ NOTIMPLEMENTED();
+ return false;
+}
+
+InstanceIDDeleteIDFunction::InstanceIDDeleteIDFunction() {}
+
+InstanceIDDeleteIDFunction::~InstanceIDDeleteIDFunction() {}
+
+bool InstanceIDDeleteIDFunction::RunAsync() {
+ NOTIMPLEMENTED();
+ return false;
+}
+
+} // namespace extensions

Powered by Google App Engine
This is Rietveld 408576698