| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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/chromeos/login/signed_settings_helper.h" | 5 #include "chrome/browser/chromeos/login/signed_settings_helper.h" |
| 6 | 6 |
| 7 #include <string> | 7 #include <string> |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/lazy_instance.h" | 10 #include "base/lazy_instance.h" |
| 11 #include "base/logging.h" | 11 #include "base/logging.h" |
| 12 #include "base/ref_counted.h" | 12 #include "base/ref_counted.h" |
| 13 #include "chrome/browser/browser_thread.h" | |
| 14 #include "chrome/browser/chromeos/login/signed_settings.h" | 13 #include "chrome/browser/chromeos/login/signed_settings.h" |
| 14 #include "content/browser/browser_thread.h" |
| 15 | 15 |
| 16 namespace chromeos { | 16 namespace chromeos { |
| 17 | 17 |
| 18 namespace { | 18 namespace { |
| 19 | 19 |
| 20 class OpContext { | 20 class OpContext { |
| 21 public: | 21 public: |
| 22 class Delegate { | 22 class Delegate { |
| 23 public: | 23 public: |
| 24 virtual void OnOpCreated(OpContext* context) = 0; | 24 virtual void OnOpCreated(OpContext* context) = 0; |
| (...skipping 346 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 371 | 371 |
| 372 if (test_delegate_) | 372 if (test_delegate_) |
| 373 test_delegate_->OnOpCompleted(context->op()); | 373 test_delegate_->OnOpCompleted(context->op()); |
| 374 } | 374 } |
| 375 | 375 |
| 376 SignedSettingsHelper* SignedSettingsHelper::Get() { | 376 SignedSettingsHelper* SignedSettingsHelper::Get() { |
| 377 return g_signed_settings_helper_impl.Pointer(); | 377 return g_signed_settings_helper_impl.Pointer(); |
| 378 } | 378 } |
| 379 | 379 |
| 380 } // namespace chromeos | 380 } // namespace chromeos |
| OLD | NEW |