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

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

Issue 286063004: Move active field trial API to variations component. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 6 years, 7 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
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 <algorithm> 7 #include <algorithm>
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 18 matching lines...) Expand all
29 #include "chrome/browser/autocomplete/autocomplete_match.h" 29 #include "chrome/browser/autocomplete/autocomplete_match.h"
30 #include "chrome/browser/autocomplete/autocomplete_provider.h" 30 #include "chrome/browser/autocomplete/autocomplete_provider.h"
31 #include "chrome/browser/autocomplete/autocomplete_result.h" 31 #include "chrome/browser/autocomplete/autocomplete_result.h"
32 #include "chrome/browser/browser_process.h" 32 #include "chrome/browser/browser_process.h"
33 #include "chrome/browser/google/google_util.h" 33 #include "chrome/browser/google/google_util.h"
34 #include "chrome/browser/metrics/extension_metrics.h" 34 #include "chrome/browser/metrics/extension_metrics.h"
35 #include "chrome/browser/omnibox/omnibox_log.h" 35 #include "chrome/browser/omnibox/omnibox_log.h"
36 #include "chrome/browser/plugins/plugin_prefs.h" 36 #include "chrome/browser/plugins/plugin_prefs.h"
37 #include "chrome/browser/profiles/profile_manager.h" 37 #include "chrome/browser/profiles/profile_manager.h"
38 #include "chrome/common/chrome_version_info.h" 38 #include "chrome/common/chrome_version_info.h"
39 #include "chrome/common/metrics/variations/variations_util.h"
40 #include "chrome/common/pref_names.h" 39 #include "chrome/common/pref_names.h"
41 #include "chrome/installer/util/google_update_settings.h" 40 #include "chrome/installer/util/google_update_settings.h"
42 #include "components/metrics/proto/omnibox_event.pb.h" 41 #include "components/metrics/proto/omnibox_event.pb.h"
43 #include "components/metrics/proto/profiler_event.pb.h" 42 #include "components/metrics/proto/profiler_event.pb.h"
44 #include "components/metrics/proto/system_profile.pb.h" 43 #include "components/metrics/proto/system_profile.pb.h"
45 #include "components/nacl/common/nacl_process_type.h" 44 #include "components/nacl/common/nacl_process_type.h"
45 #include "components/variations/active_field_trials.h"
46 #include "content/public/browser/gpu_data_manager.h" 46 #include "content/public/browser/gpu_data_manager.h"
47 #include "content/public/common/content_client.h" 47 #include "content/public/common/content_client.h"
48 #include "content/public/common/webplugininfo.h" 48 #include "content/public/common/webplugininfo.h"
49 #include "gpu/config/gpu_info.h" 49 #include "gpu/config/gpu_info.h"
50 #include "ui/gfx/screen.h" 50 #include "ui/gfx/screen.h"
51 #include "url/gurl.h" 51 #include "url/gurl.h"
52 52
53 #if defined(OS_ANDROID) 53 #if defined(OS_ANDROID)
54 #include "base/android/build_info.h" 54 #include "base/android/build_info.h"
55 #endif 55 #endif
(...skipping 884 matching lines...) Expand 10 before | Expand all | Expand 10 after
940 ProductDataToProto(google_update_metrics.google_update_data, 940 ProductDataToProto(google_update_metrics.google_update_data,
941 google_update->mutable_google_update_status()); 941 google_update->mutable_google_update_status());
942 } 942 }
943 943
944 if (!google_update_metrics.product_data.version.empty()) { 944 if (!google_update_metrics.product_data.version.empty()) {
945 ProductDataToProto(google_update_metrics.product_data, 945 ProductDataToProto(google_update_metrics.product_data,
946 google_update->mutable_client_status()); 946 google_update->mutable_client_status());
947 } 947 }
948 #endif // defined(GOOGLE_CHROME_BUILD) && defined(OS_WIN) 948 #endif // defined(GOOGLE_CHROME_BUILD) && defined(OS_WIN)
949 } 949 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698