| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_RENDERER_INJECTION_HOST_H | 5 #ifndef EXTENSIONS_RENDERER_INJECTION_HOST_H |
| 6 #define EXTENSIONS_RENDERER_INJECTION_HOST_H | 6 #define EXTENSIONS_RENDERER_INJECTION_HOST_H |
| 7 | 7 |
| 8 #include "base/macros.h" |
| 8 #include "extensions/common/host_id.h" | 9 #include "extensions/common/host_id.h" |
| 9 #include "extensions/common/permissions/permissions_data.h" | 10 #include "extensions/common/permissions/permissions_data.h" |
| 10 #include "url/gurl.h" | 11 #include "url/gurl.h" |
| 11 | 12 |
| 12 namespace content { | 13 namespace content { |
| 13 class RenderFrame; | 14 class RenderFrame; |
| 14 } | 15 } |
| 15 | 16 |
| 16 // An interface for all kinds of hosts who own user scripts. | 17 // An interface for all kinds of hosts who own user scripts. |
| 17 class InjectionHost { | 18 class InjectionHost { |
| (...skipping 19 matching lines...) Expand all Loading... |
| 37 const HostID& id() const { return id_; } | 38 const HostID& id() const { return id_; } |
| 38 | 39 |
| 39 private: | 40 private: |
| 40 // The ID of the host. | 41 // The ID of the host. |
| 41 HostID id_; | 42 HostID id_; |
| 42 | 43 |
| 43 DISALLOW_COPY_AND_ASSIGN(InjectionHost); | 44 DISALLOW_COPY_AND_ASSIGN(InjectionHost); |
| 44 }; | 45 }; |
| 45 | 46 |
| 46 #endif // EXTENSIONS_RENDERER_INJECTION_HOST_H | 47 #endif // EXTENSIONS_RENDERER_INJECTION_HOST_H |
| OLD | NEW |