| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_COMMON_EXTENSIONS_MANIFEST_HANDLERS_COPRESENCE_MANIFEST_H_ | 5 #ifndef CHROME_COMMON_EXTENSIONS_MANIFEST_HANDLERS_COPRESENCE_MANIFEST_H_ |
| 6 #define CHROME_COMMON_EXTENSIONS_MANIFEST_HANDLERS_COPRESENCE_MANIFEST_H_ | 6 #define CHROME_COMMON_EXTENSIONS_MANIFEST_HANDLERS_COPRESENCE_MANIFEST_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "base/macros.h" |
| 11 #include "extensions/common/extension.h" | 12 #include "extensions/common/extension.h" |
| 12 #include "extensions/common/manifest_handler.h" | 13 #include "extensions/common/manifest_handler.h" |
| 13 | 14 |
| 14 namespace extensions { | 15 namespace extensions { |
| 15 | 16 |
| 16 // Parses the "copresence" manifest key. | 17 // Parses the "copresence" manifest key. |
| 17 // TODO(ckehoe): Handle the copresence permission here. | 18 // TODO(ckehoe): Handle the copresence permission here. |
| 18 class CopresenceManifestHandler final : public ManifestHandler { | 19 class CopresenceManifestHandler final : public ManifestHandler { |
| 19 public: | 20 public: |
| 20 CopresenceManifestHandler(); | 21 CopresenceManifestHandler(); |
| (...skipping 12 matching lines...) Expand all Loading... |
| 33 public: | 34 public: |
| 34 CopresenceManifestData(); | 35 CopresenceManifestData(); |
| 35 ~CopresenceManifestData() override; | 36 ~CopresenceManifestData() override; |
| 36 | 37 |
| 37 std::string api_key; | 38 std::string api_key; |
| 38 }; | 39 }; |
| 39 | 40 |
| 40 } // namespace extensions | 41 } // namespace extensions |
| 41 | 42 |
| 42 #endif // CHROME_COMMON_EXTENSIONS_MANIFEST_HANDLERS_COPRESENCE_MANIFEST_H_ | 43 #endif // CHROME_COMMON_EXTENSIONS_MANIFEST_HANDLERS_COPRESENCE_MANIFEST_H_ |
| OLD | NEW |