| Index: chrome/browser/ui/passwords/password_bubble_experiment.cc
|
| diff --git a/chrome/browser/ui/passwords/password_bubble_experiment.cc b/chrome/browser/ui/passwords/password_bubble_experiment.cc
|
| deleted file mode 100644
|
| index 50ec27f2c10cf071d9679c3b7d104650ec4d787e..0000000000000000000000000000000000000000
|
| --- a/chrome/browser/ui/passwords/password_bubble_experiment.cc
|
| +++ /dev/null
|
| @@ -1,32 +0,0 @@
|
| -// Copyright 2014 The Chromium Authors. All rights reserved.
|
| -// Use of this source code is governed by a BSD-style license that can be
|
| -// found in the LICENSE file.
|
| -
|
| -#include "chrome/browser/ui/passwords/password_bubble_experiment.h"
|
| -
|
| -#include "base/metrics/field_trial.h"
|
| -#include "base/prefs/pref_service.h"
|
| -#include "chrome/browser/password_manager/password_manager_util.h"
|
| -
|
| -namespace password_bubble_experiment {
|
| -namespace {
|
| -
|
| -const char kBrandingExperimentName[] = "PasswordBranding";
|
| -const char kSmartLockBrandingGroupName[] = "SmartLockBranding";
|
| -
|
| -} // namespace
|
| -
|
| -void RecordBubbleClosed(
|
| - PrefService* prefs,
|
| - password_manager::metrics_util::UIDismissalReason reason) {
|
| - // TODO(vasilii): store the statistics.
|
| -}
|
| -
|
| -bool IsSmartLockBrandingEnabled(const sync_driver::SyncService* sync_service) {
|
| - return password_manager_util::GetPasswordSyncState(sync_service) ==
|
| - password_manager::SYNCING_NORMAL_ENCRYPTION &&
|
| - base::FieldTrialList::FindFullName(kBrandingExperimentName) ==
|
| - kSmartLockBrandingGroupName;
|
| -}
|
| -
|
| -} // namespace password_bubble_experiment
|
|
|