| Index: base/mac/keychain_metrics.cc
|
| diff --git a/base/critical_closure_internal_ios.mm b/base/mac/keychain_metrics.cc
|
| similarity index 50%
|
| copy from base/critical_closure_internal_ios.mm
|
| copy to base/mac/keychain_metrics.cc
|
| index b8fec141b2198e53c2b8e2d4826a1fba7edc0212..65dc29c9d414ed43dbe9d47de0e7617e19531ad8 100644
|
| --- a/base/critical_closure_internal_ios.mm
|
| +++ b/base/mac/keychain_metrics.cc
|
| @@ -2,16 +2,16 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#include "base/critical_closure.h"
|
| +#include "base/mac/keychain_metrics.h"
|
|
|
| -#import <UIKit/UIKit.h>
|
| +#include "base/metrics/histogram.h"
|
|
|
| namespace base {
|
| -namespace internal {
|
| +namespace mac {
|
|
|
| -bool IsMultiTaskingSupported() {
|
| - return [[UIDevice currentDevice] isMultitaskingSupported];
|
| +void IncrementKeychainAccessHistogram() {
|
| + LOCAL_HISTOGRAM_BOOLEAN("OSX.Keychain.Access", true);
|
| }
|
|
|
| -} // namespace internal
|
| +} // namespace mac
|
| } // namespace base
|
|
|