| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/extensions/api/easy_unlock_private/easy_unlock_private_
api.h" | 5 #include "chrome/browser/extensions/api/easy_unlock_private/easy_unlock_private_
api.h" |
| 6 | 6 |
| 7 #include "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "base/lazy_instance.h" | 8 #include "base/lazy_instance.h" |
| 9 #include "base/strings/utf_string_conversions.h" | 9 #include "base/strings/utf_string_conversions.h" |
| 10 #include "base/values.h" | 10 #include "base/values.h" |
| 11 #include "chrome/browser/extensions/api/easy_unlock_private/easy_unlock_private_
bluetooth_util.h" | 11 #include "chrome/browser/extensions/api/easy_unlock_private/easy_unlock_private_
bluetooth_util.h" |
| 12 #include "chrome/browser/extensions/api/easy_unlock_private/easy_unlock_private_
crypto_delegate.h" | 12 #include "chrome/browser/extensions/api/easy_unlock_private/easy_unlock_private_
crypto_delegate.h" |
| 13 #include "chrome/common/extensions/api/easy_unlock_private.h" | 13 #include "chrome/common/extensions/api/easy_unlock_private.h" |
| 14 #include "chrome/grit/generated_resources.h" |
| 14 #include "extensions/browser/browser_context_keyed_api_factory.h" | 15 #include "extensions/browser/browser_context_keyed_api_factory.h" |
| 15 #include "grit/generated_resources.h" | |
| 16 #include "ui/base/l10n/l10n_util.h" | 16 #include "ui/base/l10n/l10n_util.h" |
| 17 | 17 |
| 18 #if defined(OS_CHROMEOS) | 18 #if defined(OS_CHROMEOS) |
| 19 #include "chrome/browser/chromeos/chromeos_utils.h" | 19 #include "chrome/browser/chromeos/chromeos_utils.h" |
| 20 #endif | 20 #endif |
| 21 | 21 |
| 22 namespace extensions { | 22 namespace extensions { |
| 23 namespace api { | 23 namespace api { |
| 24 | 24 |
| 25 namespace { | 25 namespace { |
| (...skipping 337 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 363 if (seek_result.success) { | 363 if (seek_result.success) { |
| 364 SendResponse(true); | 364 SendResponse(true); |
| 365 } else { | 365 } else { |
| 366 SetError(seek_result.error_message); | 366 SetError(seek_result.error_message); |
| 367 SendResponse(false); | 367 SendResponse(false); |
| 368 } | 368 } |
| 369 } | 369 } |
| 370 | 370 |
| 371 } // namespace api | 371 } // namespace api |
| 372 } // namespace extensions | 372 } // namespace extensions |
| OLD | NEW |