| 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 IOS_WEB_WEBUI_URL_DATA_MANAGER_IOS_H_ | 5 #ifndef IOS_WEB_WEBUI_URL_DATA_MANAGER_IOS_H_ |
| 6 #define IOS_WEB_WEBUI_URL_DATA_MANAGER_IOS_H_ | 6 #define IOS_WEB_WEBUI_URL_DATA_MANAGER_IOS_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "base/macros.h" |
| 11 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
| 12 #include "base/supports_user_data.h" | 13 #include "base/supports_user_data.h" |
| 13 | 14 |
| 14 namespace web { | 15 namespace web { |
| 15 class BrowserState; | 16 class BrowserState; |
| 16 class URLDataSourceIOS; | 17 class URLDataSourceIOS; |
| 17 class URLDataSourceIOSImpl; | 18 class URLDataSourceIOSImpl; |
| 18 class WebUIIOSDataSource; | 19 class WebUIIOSDataSource; |
| 19 | 20 |
| 20 // To serve dynamic data off of chrome: URLs, implement the | 21 // To serve dynamic data off of chrome: URLs, implement the |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 77 // |data_sources_| that are no longer referenced and scheduled for deletion. | 78 // |data_sources_| that are no longer referenced and scheduled for deletion. |
| 78 // Protected by g_delete_lock in the .cc file. | 79 // Protected by g_delete_lock in the .cc file. |
| 79 static URLDataSources* data_sources_; | 80 static URLDataSources* data_sources_; |
| 80 | 81 |
| 81 DISALLOW_COPY_AND_ASSIGN(URLDataManagerIOS); | 82 DISALLOW_COPY_AND_ASSIGN(URLDataManagerIOS); |
| 82 }; | 83 }; |
| 83 | 84 |
| 84 } // namespace web | 85 } // namespace web |
| 85 | 86 |
| 86 #endif // IOS_WEB_WEBUI_URL_DATA_MANAGER_IOS_H_ | 87 #endif // IOS_WEB_WEBUI_URL_DATA_MANAGER_IOS_H_ |
| OLD | NEW |