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 CONTENT_BROWSER_MANIFEST_MANIFEST_MANAGER_HOST_H_ | 5 #ifndef CONTENT_BROWSER_MANIFEST_MANIFEST_MANAGER_HOST_H_ |
6 #define CONTENT_BROWSER_MANIFEST_MANIFEST_MANAGER_HOST_H_ | 6 #define CONTENT_BROWSER_MANIFEST_MANIFEST_MANAGER_HOST_H_ |
7 | 7 |
8 #include "base/callback_forward.h" | 8 #include "base/callback_forward.h" |
9 #include "base/id_map.h" | 9 #include "base/id_map.h" |
| 10 #include "base/macros.h" |
10 #include "content/public/browser/web_contents_observer.h" | 11 #include "content/public/browser/web_contents_observer.h" |
11 | 12 |
12 namespace content { | 13 namespace content { |
13 | 14 |
14 class RenderFrameHost; | 15 class RenderFrameHost; |
15 class WebContents; | 16 class WebContents; |
16 struct Manifest; | 17 struct Manifest; |
17 | 18 |
18 // ManifestManagerHost is a helper class that allows callers to get the Manifest | 19 // ManifestManagerHost is a helper class that allows callers to get the Manifest |
19 // associated with a frame. It handles the IPC messaging with the child process. | 20 // associated with a frame. It handles the IPC messaging with the child process. |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 | 57 |
57 FrameGetCallbackMap pending_get_callbacks_; | 58 FrameGetCallbackMap pending_get_callbacks_; |
58 FrameHasCallbackMap pending_has_callbacks_; | 59 FrameHasCallbackMap pending_has_callbacks_; |
59 | 60 |
60 DISALLOW_COPY_AND_ASSIGN(ManifestManagerHost); | 61 DISALLOW_COPY_AND_ASSIGN(ManifestManagerHost); |
61 }; | 62 }; |
62 | 63 |
63 } // namespace content | 64 } // namespace content |
64 | 65 |
65 #endif // CONTENT_BROWSER_MANIFEST_MANIFEST_MANAGER_HOST_H_ | 66 #endif // CONTENT_BROWSER_MANIFEST_MANIFEST_MANAGER_HOST_H_ |
OLD | NEW |