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

Side by Side Diff: extensions/common/api/sockets/sockets_manifest_permission.h

Issue 217263002: Move sockets manifest types to //extensions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rename, add new "API" for extensionsManifestTypes Created 6 years, 9 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
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_PERMISSION_H_ 5 #ifndef EXTENSIONS_COMMON_API_SOCKETS_SOCKETS_MANIFEST_PERMISSION_H_
6 #define CHROME_COMMON_EXTENSIONS_API_SOCKETS_SOCKETS_MANIFEST_PERMISSION_H_ 6 #define EXTENSIONS_COMMON_API_SOCKETS_SOCKETS_MANIFEST_PERMISSION_H_
7 7
8 #include <set> 8 #include <set>
9 #include <vector> 9 #include <vector>
10 10
11 #include "extensions/common/install_warning.h" 11 #include "extensions/common/install_warning.h"
12 #include "extensions/common/permissions/manifest_permission.h" 12 #include "extensions/common/permissions/manifest_permission.h"
13 #include "extensions/common/permissions/socket_permission_entry.h" 13 #include "extensions/common/permissions/socket_permission_entry.h"
14 14
15 namespace content { 15 namespace content {
16 struct SocketPermissionRequest; 16 struct SocketPermissionRequest;
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 bool AddAnyHostMessage(PermissionMessages& messages) const; 65 bool AddAnyHostMessage(PermissionMessages& messages) const;
66 void AddSubdomainHostMessage(PermissionMessages& messages) const; 66 void AddSubdomainHostMessage(PermissionMessages& messages) const;
67 void AddSpecificHostMessage(PermissionMessages& messages) const; 67 void AddSpecificHostMessage(PermissionMessages& messages) const;
68 void AddNetworkListMessage(PermissionMessages& messages) const; 68 void AddNetworkListMessage(PermissionMessages& messages) const;
69 69
70 SocketPermissionEntrySet permissions_; 70 SocketPermissionEntrySet permissions_;
71 }; 71 };
72 72
73 } // namespace extensions 73 } // namespace extensions
74 74
75 #endif // CHROME_COMMON_EXTENSIONS_API_SOCKETS_SOCKETS_MANIFEST_PERMISSION_H_ 75 #endif // EXTENSIONS_COMMON_API_SOCKETS_SOCKETS_MANIFEST_PERMISSION_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698