| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_API_SOCKETS_SOCKETS_MANIFEST_DATA_H_ | 5 #ifndef CHROME_COMMON_EXTENSIONS_API_SOCKETS_SOCKETS_MANIFEST_DATA_H_ |
| 6 #define CHROME_COMMON_EXTENSIONS_API_SOCKETS_SOCKETS_MANIFEST_DATA_H_ | 6 #define CHROME_COMMON_EXTENSIONS_API_SOCKETS_SOCKETS_MANIFEST_DATA_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/strings/string16.h" | 10 #include "base/strings/string16.h" |
| 11 #include "chrome/common/extensions/extension.h" | 11 #include "extensions/common/extension.h" |
| 12 #include "extensions/common/manifest_handler.h" | 12 #include "extensions/common/manifest_handler.h" |
| 13 | 13 |
| 14 namespace content { | 14 namespace content { |
| 15 struct SocketPermissionRequest; | 15 struct SocketPermissionRequest; |
| 16 } | 16 } |
| 17 | 17 |
| 18 namespace extensions { | 18 namespace extensions { |
| 19 class SocketsManifestPermission; | 19 class SocketsManifestPermission; |
| 20 } | 20 } |
| 21 | 21 |
| (...skipping 23 matching lines...) Expand all Loading... |
| 45 return permission_.get(); | 45 return permission_.get(); |
| 46 } | 46 } |
| 47 | 47 |
| 48 private: | 48 private: |
| 49 scoped_ptr<SocketsManifestPermission> permission_; | 49 scoped_ptr<SocketsManifestPermission> permission_; |
| 50 }; | 50 }; |
| 51 | 51 |
| 52 } // namespace extensions | 52 } // namespace extensions |
| 53 | 53 |
| 54 #endif // CHROME_COMMON_EXTENSIONS_API_SOCKETS_SOCKETS_MANIFEST_DATA_H_ | 54 #endif // CHROME_COMMON_EXTENSIONS_API_SOCKETS_SOCKETS_MANIFEST_DATA_H_ |
| OLD | NEW |