OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_OMNIBOX_OMNIBOX_LOG_H_ | 5 #ifndef CHROME_BROWSER_OMNIBOX_OMNIBOX_LOG_H_ |
6 #define CHROME_BROWSER_OMNIBOX_OMNIBOX_LOG_H_ | 6 #define CHROME_BROWSER_OMNIBOX_OMNIBOX_LOG_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 | 9 |
10 #include "base/strings/string16.h" | 10 #include "base/strings/string16.h" |
11 #include "base/time.h" | 11 #include "base/time/time.h" |
12 #include "chrome/browser/autocomplete/autocomplete_input.h" | 12 #include "chrome/browser/autocomplete/autocomplete_input.h" |
13 #include "chrome/browser/autocomplete/autocomplete_provider.h" | 13 #include "chrome/browser/autocomplete/autocomplete_provider.h" |
14 #include "chrome/browser/sessions/session_id.h" | 14 #include "chrome/browser/sessions/session_id.h" |
15 #include "chrome/common/metrics/proto/omnibox_event.pb.h" | 15 #include "chrome/common/metrics/proto/omnibox_event.pb.h" |
16 | 16 |
17 class AutocompleteResult; | 17 class AutocompleteResult; |
18 | 18 |
19 // The data to log (via the metrics service) when the user selects an item from | 19 // The data to log (via the metrics service) when the user selects an item from |
20 // the omnibox popup. | 20 // the omnibox popup. |
21 struct OmniboxLog { | 21 struct OmniboxLog { |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 // Result set. | 77 // Result set. |
78 const AutocompleteResult& result; | 78 const AutocompleteResult& result; |
79 | 79 |
80 // Diagnostic information from providers. See | 80 // Diagnostic information from providers. See |
81 // AutocompleteController::AddProvidersInfo() and | 81 // AutocompleteController::AddProvidersInfo() and |
82 // AutocompleteProvider::AddProviderInfo() above. | 82 // AutocompleteProvider::AddProviderInfo() above. |
83 ProvidersInfo providers_info; | 83 ProvidersInfo providers_info; |
84 }; | 84 }; |
85 | 85 |
86 #endif // CHROME_BROWSER_OMNIBOX_OMNIBOX_LOG_H_ | 86 #endif // CHROME_BROWSER_OMNIBOX_OMNIBOX_LOG_H_ |
OLD | NEW |