| 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_RENDERER_WEB_UI_MOJO_CONTEXT_STATE_H_ | 5 #ifndef CONTENT_RENDERER_WEB_UI_MOJO_CONTEXT_STATE_H_ |
| 6 #define CONTENT_RENDERER_WEB_UI_MOJO_CONTEXT_STATE_H_ | 6 #define CONTENT_RENDERER_WEB_UI_MOJO_CONTEXT_STATE_H_ |
| 7 | 7 |
| 8 #include <set> | 8 #include <set> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| 11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
| 12 #include "base/memory/scoped_vector.h" | 12 #include "base/memory/scoped_vector.h" |
| 13 #include "gin/modules/module_registry_observer.h" | 13 #include "gin/modules/module_registry_observer.h" |
| 14 #include "mojo/public/system/core_cpp.h" | 14 #include "mojo/public/cpp/system/core.h" |
| 15 #include "v8/include/v8.h" | 15 #include "v8/include/v8.h" |
| 16 | 16 |
| 17 namespace blink { | 17 namespace blink { |
| 18 class WebFrame; | 18 class WebFrame; |
| 19 class WebURLResponse; | 19 class WebURLResponse; |
| 20 } | 20 } |
| 21 | 21 |
| 22 namespace gin { | 22 namespace gin { |
| 23 class ContextHolder; | 23 class ContextHolder; |
| 24 struct PendingModule; | 24 struct PendingModule; |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 | 78 |
| 79 // Set of modules we've fetched script from. | 79 // Set of modules we've fetched script from. |
| 80 std::set<std::string> fetched_modules_; | 80 std::set<std::string> fetched_modules_; |
| 81 | 81 |
| 82 DISALLOW_COPY_AND_ASSIGN(WebUIMojoContextState); | 82 DISALLOW_COPY_AND_ASSIGN(WebUIMojoContextState); |
| 83 }; | 83 }; |
| 84 | 84 |
| 85 } // namespace content | 85 } // namespace content |
| 86 | 86 |
| 87 #endif // CONTENT_RENDERER_WEB_UI_MOJO_CONTEXT_STATE_H_ | 87 #endif // CONTENT_RENDERER_WEB_UI_MOJO_CONTEXT_STATE_H_ |
| OLD | NEW |