| 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 <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "chrome/browser/prefs/pref_member.h" | 11 #include "chrome/browser/prefs/pref_member.h" |
| 12 #include "chrome/browser/tab_contents/tab_contents_observer.h" | |
| 13 #include "chrome/browser/webdata/web_data_service.h" | 12 #include "chrome/browser/webdata/web_data_service.h" |
| 13 #include "content/browser/tab_contents/tab_contents_observer.h" |
| 14 | 14 |
| 15 namespace webkit_glue { | 15 namespace webkit_glue { |
| 16 struct FormData; | 16 struct FormData; |
| 17 } // namespace webkit_glue | 17 } // namespace webkit_glue |
| 18 | 18 |
| 19 class Profile; | 19 class Profile; |
| 20 class TabContents; | 20 class TabContents; |
| 21 | 21 |
| 22 // Per-tab Autocomplete history manager. Handles receiving form data from the | 22 // Per-tab Autocomplete history manager. Handles receiving form data from the |
| 23 // renderer and the storing and retrieving of form data through WebDataService. | 23 // renderer and the storing and retrieving of form data through WebDataService. |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 73 int query_id_; | 73 int query_id_; |
| 74 std::vector<string16> autofill_values_; | 74 std::vector<string16> autofill_values_; |
| 75 std::vector<string16> autofill_labels_; | 75 std::vector<string16> autofill_labels_; |
| 76 std::vector<string16> autofill_icons_; | 76 std::vector<string16> autofill_icons_; |
| 77 std::vector<int> autofill_unique_ids_; | 77 std::vector<int> autofill_unique_ids_; |
| 78 | 78 |
| 79 DISALLOW_COPY_AND_ASSIGN(AutocompleteHistoryManager); | 79 DISALLOW_COPY_AND_ASSIGN(AutocompleteHistoryManager); |
| 80 }; | 80 }; |
| 81 | 81 |
| 82 #endif // CHROME_BROWSER_AUTOCOMPLETE_HISTORY_MANAGER_H_ | 82 #endif // CHROME_BROWSER_AUTOCOMPLETE_HISTORY_MANAGER_H_ |
| OLD | NEW |