| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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_PERMISSIONS_MEDIA_GALLERIES_PERMISSION_DATA_H_ | 5 #ifndef EXTENSIONS_COMMON_PERMISSIONS_MEDIA_GALLERIES_PERMISSION_DATA_H_ |
| 6 #define CHROME_COMMON_EXTENSIONS_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" | 10 #include "base/basictypes.h" |
| 11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
| 12 #include "extensions/common/permissions/api_permission.h" | 12 #include "extensions/common/permissions/api_permission.h" |
| 13 | 13 |
| 14 namespace base { | 14 namespace base { |
| 15 class Value; | 15 class Value; |
| 16 } | 16 } |
| (...skipping 24 matching lines...) Expand all Loading... |
| 41 // This accessor is provided for IPC_STRUCT_TRAITS_MEMBER. Please think | 41 // This accessor is provided for IPC_STRUCT_TRAITS_MEMBER. Please think |
| 42 // twice before using it for anything else. | 42 // twice before using it for anything else. |
| 43 std::string& permission() { return permission_; } | 43 std::string& permission() { return permission_; } |
| 44 | 44 |
| 45 private: | 45 private: |
| 46 std::string permission_; | 46 std::string permission_; |
| 47 }; | 47 }; |
| 48 | 48 |
| 49 } // namespace extensions | 49 } // namespace extensions |
| 50 | 50 |
| 51 #endif // CHROME_COMMON_EXTENSIONS_PERMISSIONS_MEDIA_GALLERIES_PERMISSION_DATA_
H_ | 51 #endif // EXTENSIONS_COMMON_PERMISSIONS_MEDIA_GALLERIES_PERMISSION_DATA_H_ |
| OLD | NEW |