OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_UI_WEBUI_CHROME_URL_DATA_MANAGER_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_CHROME_URL_DATA_MANAGER_H_ |
6 #define CHROME_BROWSER_UI_WEBUI_CHROME_URL_DATA_MANAGER_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_CHROME_URL_DATA_MANAGER_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/callback.h" | 12 #include "base/callback.h" |
13 #include "base/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
14 #include "base/message_loop_helpers.h" | 14 #include "base/sequenced_task_runner_helpers.h" |
15 #include "base/synchronization/lock.h" | 15 #include "base/synchronization/lock.h" |
16 #include "chrome/browser/profiles/profile_keyed_service.h" | 16 #include "chrome/browser/profiles/profile_keyed_service.h" |
17 | 17 |
18 class ChromeURLDataManagerBackend; | 18 class ChromeURLDataManagerBackend; |
19 class MessageLoop; | 19 class MessageLoop; |
20 class Profile; | 20 class Profile; |
21 | 21 |
22 namespace base { | 22 namespace base { |
23 class DictionaryValue; | 23 class DictionaryValue; |
24 class RefCountedMemory; | 24 class RefCountedMemory; |
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
188 const base::Callback<ChromeURLDataManagerBackend*(void)> backend_; | 188 const base::Callback<ChromeURLDataManagerBackend*(void)> backend_; |
189 | 189 |
190 // |data_sources_| that are no longer referenced and scheduled for deletion. | 190 // |data_sources_| that are no longer referenced and scheduled for deletion. |
191 // Protected by g_delete_lock in the .cc file. | 191 // Protected by g_delete_lock in the .cc file. |
192 static DataSources* data_sources_; | 192 static DataSources* data_sources_; |
193 | 193 |
194 DISALLOW_COPY_AND_ASSIGN(ChromeURLDataManager); | 194 DISALLOW_COPY_AND_ASSIGN(ChromeURLDataManager); |
195 }; | 195 }; |
196 | 196 |
197 #endif // CHROME_BROWSER_UI_WEBUI_CHROME_URL_DATA_MANAGER_H_ | 197 #endif // CHROME_BROWSER_UI_WEBUI_CHROME_URL_DATA_MANAGER_H_ |
OLD | NEW |