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

Unified Diff: chrome/common/extensions/manifest_handlers/copresence_manifest.h

Issue 2130803002: Deleting the copresence API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 5 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/common/extensions/manifest_handlers/copresence_manifest.h
diff --git a/chrome/common/extensions/manifest_handlers/copresence_manifest.h b/chrome/common/extensions/manifest_handlers/copresence_manifest.h
deleted file mode 100644
index b9ff7071a8484a4169ef1773766c686da8e80cdc..0000000000000000000000000000000000000000
--- a/chrome/common/extensions/manifest_handlers/copresence_manifest.h
+++ /dev/null
@@ -1,43 +0,0 @@
-// 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.
-
-#ifndef CHROME_COMMON_EXTENSIONS_MANIFEST_HANDLERS_COPRESENCE_MANIFEST_H_
-#define CHROME_COMMON_EXTENSIONS_MANIFEST_HANDLERS_COPRESENCE_MANIFEST_H_
-
-#include <string>
-#include <vector>
-
-#include "base/macros.h"
-#include "extensions/common/extension.h"
-#include "extensions/common/manifest_handler.h"
-
-namespace extensions {
-
-// Parses the "copresence" manifest key.
-// TODO(ckehoe): Handle the copresence permission here.
-class CopresenceManifestHandler final : public ManifestHandler {
- public:
- CopresenceManifestHandler();
- ~CopresenceManifestHandler() override;
-
- bool Parse(Extension* extension, base::string16* error) override;
-
- private:
- const std::vector<std::string> Keys() const override;
-
- DISALLOW_COPY_AND_ASSIGN(CopresenceManifestHandler);
-};
-
-// The parsed data from the copresence manifest entry.
-struct CopresenceManifestData final : public Extension::ManifestData {
- public:
- CopresenceManifestData();
- ~CopresenceManifestData() override;
-
- std::string api_key;
-};
-
-} // namespace extensions
-
-#endif // CHROME_COMMON_EXTENSIONS_MANIFEST_HANDLERS_COPRESENCE_MANIFEST_H_

Powered by Google App Engine
This is Rietveld 408576698