| 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 EXTENSIONS_COMMON_MANIFEST_HANDLERS_EXTERNALLY_CONNECTABLE_H_ | 5 #ifndef EXTENSIONS_COMMON_MANIFEST_HANDLERS_EXTERNALLY_CONNECTABLE_H_ |
| 6 #define EXTENSIONS_COMMON_MANIFEST_HANDLERS_EXTERNALLY_CONNECTABLE_H_ | 6 #define EXTENSIONS_COMMON_MANIFEST_HANDLERS_EXTERNALLY_CONNECTABLE_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| 11 | 11 |
| 12 #include "base/macros.h" | 12 #include "base/macros.h" |
| 13 #include "extensions/common/extension.h" | 13 #include "extensions/common/extension.h" |
| 14 #include "extensions/common/install_warning.h" | 14 #include "extensions/common/install_warning.h" |
| 15 #include "extensions/common/manifest_handler.h" | 15 #include "extensions/common/manifest_handler.h" |
| 16 #include "extensions/common/url_pattern_set.h" | 16 #include "extensions/common/url_pattern_set.h" |
| 17 | 17 |
| 18 class GURL; | |
| 19 | |
| 20 namespace base { | 18 namespace base { |
| 21 class Value; | 19 class Value; |
| 22 } | 20 } |
| 23 | 21 |
| 24 namespace extensions { | 22 namespace extensions { |
| 25 | 23 |
| 26 // Error constants used when parsing the externally_connectable manifest entry. | 24 // Error constants used when parsing the externally_connectable manifest entry. |
| 27 namespace externally_connectable_errors { | 25 namespace externally_connectable_errors { |
| 28 extern const char kErrorInvalid[]; | 26 extern const char kErrorInvalid[]; |
| 29 extern const char kErrorInvalidMatchPattern[]; | 27 extern const char kErrorInvalidMatchPattern[]; |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 90 bool all_ids, | 88 bool all_ids, |
| 91 bool accepts_tls_channel_id); | 89 bool accepts_tls_channel_id); |
| 92 | 90 |
| 93 private: | 91 private: |
| 94 DISALLOW_COPY_AND_ASSIGN(ExternallyConnectableInfo); | 92 DISALLOW_COPY_AND_ASSIGN(ExternallyConnectableInfo); |
| 95 }; | 93 }; |
| 96 | 94 |
| 97 } // namespace extensions | 95 } // namespace extensions |
| 98 | 96 |
| 99 #endif // EXTENSIONS_COMMON_MANIFEST_HANDLERS_EXTERNALLY_CONNECTABLE_H_ | 97 #endif // EXTENSIONS_COMMON_MANIFEST_HANDLERS_EXTERNALLY_CONNECTABLE_H_ |
| OLD | NEW |