Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(257)

Side by Side Diff: components/omnibox/browser/omnibox_log.h

Issue 1361613002: Move all core files in //components/sessions into core/ subdir (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « components/components_tests.gyp ('k') | components/sessions.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 COMPONENTS_OMNIBOX_BROWSER_OMNIBOX_LOG_H_ 5 #ifndef COMPONENTS_OMNIBOX_BROWSER_OMNIBOX_LOG_H_
6 #define COMPONENTS_OMNIBOX_BROWSER_OMNIBOX_LOG_H_ 6 #define COMPONENTS_OMNIBOX_BROWSER_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/time.h" 11 #include "base/time/time.h"
12 #include "components/metrics/proto/omnibox_event.pb.h" 12 #include "components/metrics/proto/omnibox_event.pb.h"
13 #include "components/metrics/proto/omnibox_input_type.pb.h" 13 #include "components/metrics/proto/omnibox_input_type.pb.h"
14 #include "components/omnibox/browser/autocomplete_provider.h" 14 #include "components/omnibox/browser/autocomplete_provider.h"
15 #include "components/sessions/session_id.h" 15 #include "components/sessions/core/session_id.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 {
22 OmniboxLog( 22 OmniboxLog(
23 const base::string16& text, 23 const base::string16& text,
24 bool just_deleted_text, 24 bool just_deleted_text,
25 metrics::OmniboxInputType::Type input_type, 25 metrics::OmniboxInputType::Type input_type,
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 // Result set. 91 // Result set.
92 const AutocompleteResult& result; 92 const AutocompleteResult& result;
93 93
94 // Diagnostic information from providers. See 94 // Diagnostic information from providers. See
95 // AutocompleteController::AddProvidersInfo() and 95 // AutocompleteController::AddProvidersInfo() and
96 // AutocompleteProvider::AddProviderInfo() above. 96 // AutocompleteProvider::AddProviderInfo() above.
97 ProvidersInfo providers_info; 97 ProvidersInfo providers_info;
98 }; 98 };
99 99
100 #endif // COMPONENTS_OMNIBOX_BROWSER_OMNIBOX_LOG_H_ 100 #endif // COMPONENTS_OMNIBOX_BROWSER_OMNIBOX_LOG_H_
OLDNEW
« no previous file with comments | « components/components_tests.gyp ('k') | components/sessions.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698