OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_AUTOCOMPLETE_HISTORY_MANAGER_H_ | 5 #ifndef CHROME_BROWSER_AUTOCOMPLETE_HISTORY_MANAGER_H_ |
6 #define CHROME_BROWSER_AUTOCOMPLETE_HISTORY_MANAGER_H_ | 6 #define CHROME_BROWSER_AUTOCOMPLETE_HISTORY_MANAGER_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "chrome/browser/pref_member.h" | 9 #include "chrome/browser/prefs/pref_member.h" |
10 #include "chrome/browser/renderer_host/render_view_host_delegate.h" | 10 #include "chrome/browser/renderer_host/render_view_host_delegate.h" |
11 #include "chrome/browser/webdata/web_data_service.h" | 11 #include "chrome/browser/webdata/web_data_service.h" |
12 | 12 |
13 namespace webkit_glue { | 13 namespace webkit_glue { |
14 struct FormData; | 14 struct FormData; |
15 } // namespace webkit_glue | 15 } // namespace webkit_glue |
16 | 16 |
17 class Profile; | 17 class Profile; |
18 class TabContents; | 18 class TabContents; |
19 | 19 |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 // When the manager makes a request from WebDataService, the database | 58 // When the manager makes a request from WebDataService, the database |
59 // is queried on another thread, we record the query handle until we | 59 // is queried on another thread, we record the query handle until we |
60 // get called back. | 60 // get called back. |
61 WebDataService::Handle pending_query_handle_; | 61 WebDataService::Handle pending_query_handle_; |
62 int query_id_; | 62 int query_id_; |
63 | 63 |
64 DISALLOW_COPY_AND_ASSIGN(AutocompleteHistoryManager); | 64 DISALLOW_COPY_AND_ASSIGN(AutocompleteHistoryManager); |
65 }; | 65 }; |
66 | 66 |
67 #endif // CHROME_BROWSER_AUTOCOMPLETE_HISTORY_MANAGER_H_ | 67 #endif // CHROME_BROWSER_AUTOCOMPLETE_HISTORY_MANAGER_H_ |
OLD | NEW |