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_BROWSING_DATA_INDEXED_DB_HELPER_H_ | 5 #ifndef CHROME_BROWSER_BROWSING_DATA_INDEXED_DB_HELPER_H_ |
6 #define CHROME_BROWSER_BROWSING_DATA_INDEXED_DB_HELPER_H_ | 6 #define CHROME_BROWSER_BROWSING_DATA_INDEXED_DB_HELPER_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_old.h" |
13 #include "base/file_path.h" | 13 #include "base/file_path.h" |
14 #include "base/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
15 #include "base/memory/scoped_ptr.h" | 15 #include "base/memory/scoped_ptr.h" |
16 #include "base/synchronization/lock.h" | 16 #include "base/synchronization/lock.h" |
17 #include "base/time.h" | 17 #include "base/time.h" |
18 #include "chrome/common/url_constants.h" | 18 #include "chrome/common/url_constants.h" |
19 #include "googleurl/src/gurl.h" | 19 #include "googleurl/src/gurl.h" |
20 | 20 |
21 class Profile; | 21 class Profile; |
22 | 22 |
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
142 // Indicates whether or not we're currently fetching information: | 142 // Indicates whether or not we're currently fetching information: |
143 // it's true when StartFetching() is called in the UI thread, and it's reset | 143 // it's true when StartFetching() is called in the UI thread, and it's reset |
144 // after we notified the callback in the UI thread. | 144 // after we notified the callback in the UI thread. |
145 // This only mutates on the UI thread. | 145 // This only mutates on the UI thread. |
146 bool is_fetching_; | 146 bool is_fetching_; |
147 | 147 |
148 DISALLOW_COPY_AND_ASSIGN(CannedBrowsingDataIndexedDBHelper); | 148 DISALLOW_COPY_AND_ASSIGN(CannedBrowsingDataIndexedDBHelper); |
149 }; | 149 }; |
150 | 150 |
151 #endif // CHROME_BROWSER_BROWSING_DATA_INDEXED_DB_HELPER_H_ | 151 #endif // CHROME_BROWSER_BROWSING_DATA_INDEXED_DB_HELPER_H_ |
OLD | NEW |