| 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 |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 | 70 |
| 71 // Executes the script from gin. | 71 // Executes the script from gin. |
| 72 scoped_ptr<WebUIRunner> runner_; | 72 scoped_ptr<WebUIRunner> runner_; |
| 73 | 73 |
| 74 // Set of fetchers we're waiting on to download script. | 74 // Set of fetchers we're waiting on to download script. |
| 75 ScopedVector<ResourceFetcher> module_fetchers_; | 75 ScopedVector<ResourceFetcher> module_fetchers_; |
| 76 | 76 |
| 77 // Set of modules we've fetched script from. | 77 // Set of modules we've fetched script from. |
| 78 std::set<std::string> fetched_modules_; | 78 std::set<std::string> fetched_modules_; |
| 79 | 79 |
| 80 // The prefix to use for all module requests. | |
| 81 const std::string module_prefix_; | |
| 82 | |
| 83 DISALLOW_COPY_AND_ASSIGN(WebUIMojoContextState); | 80 DISALLOW_COPY_AND_ASSIGN(WebUIMojoContextState); |
| 84 }; | 81 }; |
| 85 | 82 |
| 86 } // namespace content | 83 } // namespace content |
| 87 | 84 |
| 88 #endif // CONTENT_RENDERER_WEB_UI_MOJO_CONTEXT_STATE_H_ | 85 #endif // CONTENT_RENDERER_WEB_UI_MOJO_CONTEXT_STATE_H_ |
| OLD | NEW |