| 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/networking_private/networking_private_cr
edentials_getter.h" | 5 #include "chrome/browser/extensions/api/networking_private/networking_private_cr
edentials_getter.h" |
| 6 | 6 |
| 7 #include "base/base64.h" | 7 #include "base/base64.h" |
| 8 #include "base/bind.h" | 8 #include "base/bind.h" |
| 9 #include "base/message_loop/message_loop.h" | 9 #include "base/message_loop/message_loop.h" |
| 10 #include "base/threading/sequenced_worker_pool.h" | 10 #include "base/threading/sequenced_worker_pool.h" |
| 11 #include "chrome/common/chrome_utility_messages.h" | 11 #include "chrome/common/extensions/chrome_utility_extensions_messages.h" |
| 12 #include "content/public/browser/browser_thread.h" | 12 #include "content/public/browser/browser_thread.h" |
| 13 #include "content/public/browser/utility_process_host.h" | 13 #include "content/public/browser/utility_process_host.h" |
| 14 | 14 |
| 15 using content::BrowserThread; | 15 using content::BrowserThread; |
| 16 using content::UtilityProcessHost; | 16 using content::UtilityProcessHost; |
| 17 using extensions::NetworkingPrivateCredentialsGetter; | 17 using extensions::NetworkingPrivateCredentialsGetter; |
| 18 | 18 |
| 19 namespace { | 19 namespace { |
| 20 | 20 |
| 21 class CredentialsGetterHostClient : public content::UtilityProcessHostClient { | 21 class CredentialsGetterHostClient : public content::UtilityProcessHostClient { |
| (...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 140 | 140 |
| 141 NetworkingPrivateCredentialsGetterWin:: | 141 NetworkingPrivateCredentialsGetterWin:: |
| 142 ~NetworkingPrivateCredentialsGetterWin() {} | 142 ~NetworkingPrivateCredentialsGetterWin() {} |
| 143 | 143 |
| 144 NetworkingPrivateCredentialsGetter* | 144 NetworkingPrivateCredentialsGetter* |
| 145 NetworkingPrivateCredentialsGetter::Create() { | 145 NetworkingPrivateCredentialsGetter::Create() { |
| 146 return new NetworkingPrivateCredentialsGetterWin(); | 146 return new NetworkingPrivateCredentialsGetterWin(); |
| 147 } | 147 } |
| 148 | 148 |
| 149 } // namespace extensions | 149 } // namespace extensions |
| OLD | NEW |