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

Side by Side Diff: chrome/browser/metrics/metrics_log.cc

Issue 10699032: autocomplete: Extract AutocompleteResult from autocomplete.*. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: move comments Created 8 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/history/shortcuts_backend.cc ('k') | chrome/browser/omnibox_search_hint.cc » ('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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #include "chrome/browser/metrics/metrics_log.h" 5 #include "chrome/browser/metrics/metrics_log.h"
6 6
7 #include <string> 7 #include <string>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "base/file_util.h" 11 #include "base/file_util.h"
12 #include "base/lazy_instance.h" 12 #include "base/lazy_instance.h"
13 #include "base/memory/scoped_ptr.h" 13 #include "base/memory/scoped_ptr.h"
14 #include "base/perftimer.h" 14 #include "base/perftimer.h"
15 #include "base/profiler/alternate_timer.h" 15 #include "base/profiler/alternate_timer.h"
16 #include "base/string_number_conversions.h" 16 #include "base/string_number_conversions.h"
17 #include "base/string_util.h" 17 #include "base/string_util.h"
18 #include "base/sys_info.h" 18 #include "base/sys_info.h"
19 #include "base/third_party/nspr/prtime.h" 19 #include "base/third_party/nspr/prtime.h"
20 #include "base/time.h" 20 #include "base/time.h"
21 #include "base/tracked_objects.h" 21 #include "base/tracked_objects.h"
22 #include "base/utf_string_conversions.h" 22 #include "base/utf_string_conversions.h"
23 #include "chrome/browser/autocomplete/autocomplete.h" 23 #include "chrome/browser/autocomplete/autocomplete.h"
24 #include "chrome/browser/autocomplete/autocomplete_log.h" 24 #include "chrome/browser/autocomplete/autocomplete_log.h"
25 #include "chrome/browser/autocomplete/autocomplete_match.h" 25 #include "chrome/browser/autocomplete/autocomplete_match.h"
26 #include "chrome/browser/autocomplete/autocomplete_provider.h" 26 #include "chrome/browser/autocomplete/autocomplete_provider.h"
27 #include "chrome/browser/autocomplete/autocomplete_result.h"
27 #include "chrome/browser/browser_process.h" 28 #include "chrome/browser/browser_process.h"
28 #include "chrome/browser/plugin_prefs.h" 29 #include "chrome/browser/plugin_prefs.h"
29 #include "chrome/browser/prefs/pref_service.h" 30 #include "chrome/browser/prefs/pref_service.h"
30 #include "chrome/browser/profiles/profile_manager.h" 31 #include "chrome/browser/profiles/profile_manager.h"
31 #include "chrome/common/chrome_version_info.h" 32 #include "chrome/common/chrome_version_info.h"
32 #include "chrome/common/logging_chrome.h" 33 #include "chrome/common/logging_chrome.h"
33 #include "chrome/common/metrics/experiments_helper.h" 34 #include "chrome/common/metrics/experiments_helper.h"
34 #include "chrome/common/metrics/proto/omnibox_event.pb.h" 35 #include "chrome/common/metrics/proto/omnibox_event.pb.h"
35 #include "chrome/common/metrics/proto/profiler_event.pb.h" 36 #include "chrome/common/metrics/proto/profiler_event.pb.h"
36 #include "chrome/common/metrics/proto/system_profile.pb.h" 37 #include "chrome/common/metrics/proto/system_profile.pb.h"
(...skipping 950 matching lines...) Expand 10 before | Expand all | Expand 10 after
987 ProductDataToProto(google_update_metrics.google_update_data, 988 ProductDataToProto(google_update_metrics.google_update_data,
988 google_update->mutable_google_update_status()); 989 google_update->mutable_google_update_status());
989 } 990 }
990 991
991 if (!google_update_metrics.product_data.version.empty()) { 992 if (!google_update_metrics.product_data.version.empty()) {
992 ProductDataToProto(google_update_metrics.product_data, 993 ProductDataToProto(google_update_metrics.product_data,
993 google_update->mutable_client_status()); 994 google_update->mutable_client_status());
994 } 995 }
995 #endif // defined(GOOGLE_CHROME_BUILD) && defined(OS_WIN) 996 #endif // defined(GOOGLE_CHROME_BUILD) && defined(OS_WIN)
996 } 997 }
OLDNEW
« no previous file with comments | « chrome/browser/history/shortcuts_backend.cc ('k') | chrome/browser/omnibox_search_hint.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698