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_PERMISSIONS_MEDIA_GALLERIES_PERMISSION_DATA_H_ | 5 #ifndef EXTENSIONS_COMMON_PERMISSIONS_MEDIA_GALLERIES_PERMISSION_DATA_H_ |
6 #define EXTENSIONS_COMMON_PERMISSIONS_MEDIA_GALLERIES_PERMISSION_DATA_H_ | 6 #define EXTENSIONS_COMMON_PERMISSIONS_MEDIA_GALLERIES_PERMISSION_DATA_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | |
11 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
12 #include "extensions/common/permissions/api_permission.h" | 11 #include "extensions/common/permissions/api_permission.h" |
13 | 12 |
14 namespace base { | 13 namespace base { |
15 class Value; | 14 class Value; |
16 } | 15 } |
17 | 16 |
18 namespace extensions { | 17 namespace extensions { |
19 | 18 |
20 // A MediaGalleriesPermissionData instance represents a single part of the | 19 // A MediaGalleriesPermissionData instance represents a single part of the |
(...skipping 21 matching lines...) Expand all Loading... |
42 // twice before using it for anything else. | 41 // twice before using it for anything else. |
43 std::string& permission() { return permission_; } | 42 std::string& permission() { return permission_; } |
44 | 43 |
45 private: | 44 private: |
46 std::string permission_; | 45 std::string permission_; |
47 }; | 46 }; |
48 | 47 |
49 } // namespace extensions | 48 } // namespace extensions |
50 | 49 |
51 #endif // EXTENSIONS_COMMON_PERMISSIONS_MEDIA_GALLERIES_PERMISSION_DATA_H_ | 50 #endif // EXTENSIONS_COMMON_PERMISSIONS_MEDIA_GALLERIES_PERMISSION_DATA_H_ |
OLD | NEW |