| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 CHROME_BROWSER_DOM_UI_CHROME_URL_DATA_MANAGER_H_ | 5 #ifndef CHROME_BROWSER_WEBUI_CHROME_URL_DATA_MANAGER_H_ |
| 6 #define CHROME_BROWSER_DOM_UI_CHROME_URL_DATA_MANAGER_H_ | 6 #define CHROME_BROWSER_WEBUI_CHROME_URL_DATA_MANAGER_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <map> | 9 #include <map> |
| 10 #include <set> | 10 #include <set> |
| 11 #include <string> | 11 #include <string> |
| 12 | 12 |
| 13 #include "base/ref_counted.h" |
| 13 #include "base/task.h" | 14 #include "base/task.h" |
| 14 #include "base/ref_counted.h" | |
| 15 #include "chrome/browser/browser_thread.h" | 15 #include "chrome/browser/browser_thread.h" |
| 16 | 16 |
| 17 class ChromeURLDataManagerBackend; | 17 class ChromeURLDataManagerBackend; |
| 18 class DictionaryValue; | 18 class DictionaryValue; |
| 19 class FilePath; | 19 class FilePath; |
| 20 class MessageLoop; | 20 class MessageLoop; |
| 21 class Profile; | 21 class Profile; |
| 22 class RefCountedMemory; | 22 class RefCountedMemory; |
| 23 | 23 |
| 24 // To serve dynamic data off of chrome: URLs, implement the | 24 // To serve dynamic data off of chrome: URLs, implement the |
| (...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 173 | 173 |
| 174 // Lock used when accessing |data_sources_|. | 174 // Lock used when accessing |data_sources_|. |
| 175 static base::Lock delete_lock_; | 175 static base::Lock delete_lock_; |
| 176 | 176 |
| 177 // |data_sources_| that are no longer referenced and scheduled for deletion. | 177 // |data_sources_| that are no longer referenced and scheduled for deletion. |
| 178 static DataSources* data_sources_; | 178 static DataSources* data_sources_; |
| 179 | 179 |
| 180 DISALLOW_COPY_AND_ASSIGN(ChromeURLDataManager); | 180 DISALLOW_COPY_AND_ASSIGN(ChromeURLDataManager); |
| 181 }; | 181 }; |
| 182 | 182 |
| 183 #endif // CHROME_BROWSER_DOM_UI_CHROME_URL_DATA_MANAGER_H_ | 183 #endif // CHROME_BROWSER_WEBUI_CHROME_URL_DATA_MANAGER_H_ |
| OLD | NEW |