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

Side by Side Diff: components/autofill/browser/autofill_metrics.cc

Issue 12434004: Move remaining Autofill code to //components/autofill. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix long lines Created 7 years, 9 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/autofill/autofill_metrics.h" 5 #include "components/autofill/browser/autofill_metrics.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/metrics/histogram.h" 8 #include "base/metrics/histogram.h"
9 #include "base/time.h" 9 #include "base/time.h"
10 #include "chrome/browser/autofill/autofill_type.h" 10 #include "components/autofill/browser/autofill_type.h"
11 #include "chrome/browser/autofill/form_structure.h" 11 #include "components/autofill/browser/form_structure.h"
12 #include "components/autofill/common/form_data.h" 12 #include "components/autofill/common/form_data.h"
13 13
14 namespace { 14 namespace {
15 15
16 // Server experiments we support. 16 // Server experiments we support.
17 enum ServerExperiment { 17 enum ServerExperiment {
18 NO_EXPERIMENT = 0, 18 NO_EXPERIMENT = 0,
19 UNKNOWN_EXPERIMENT, 19 UNKNOWN_EXPERIMENT,
20 ACCEPTANCE_RATIO_06, 20 ACCEPTANCE_RATIO_06,
21 ACCEPTANCE_RATIO_1, 21 ACCEPTANCE_RATIO_1,
(...skipping 422 matching lines...) Expand 10 before | Expand all | Expand 10 after
444 444
445 void AutofillMetrics::LogServerExperimentIdForQuery( 445 void AutofillMetrics::LogServerExperimentIdForQuery(
446 const std::string& experiment_id) const { 446 const std::string& experiment_id) const {
447 LogServerExperimentId("Autofill.ServerExperimentId.Query", experiment_id); 447 LogServerExperimentId("Autofill.ServerExperimentId.Query", experiment_id);
448 } 448 }
449 449
450 void AutofillMetrics::LogServerExperimentIdForUpload( 450 void AutofillMetrics::LogServerExperimentIdForUpload(
451 const std::string& experiment_id) const { 451 const std::string& experiment_id) const {
452 LogServerExperimentId("Autofill.ServerExperimentId.Upload", experiment_id); 452 LogServerExperimentId("Autofill.ServerExperimentId.Upload", experiment_id);
453 } 453 }
OLDNEW
« no previous file with comments | « components/autofill/browser/autofill_metrics.h ('k') | components/autofill/browser/autofill_metrics_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698