Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(281)

Side by Side Diff: chrome/browser/extensions/api/networking_private/crypto_verify_impl.cc

Issue 1967773004: Fix include path for moved thread_task_runner_handle.h header in chrome/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a1_move_task_runner_handle
Patch Set: merge up to r393013 Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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/crypto_verify_impl.h" 5 #include "chrome/browser/extensions/api/networking_private/crypto_verify_impl.h"
6 6
7 #include <stdint.h> 7 #include <stdint.h>
8 8
9 #include "base/base64.h" 9 #include "base/base64.h"
10 #include "base/bind.h" 10 #include "base/bind.h"
11 #include "base/bind_helpers.h" 11 #include "base/bind_helpers.h"
12 #include "base/sequenced_task_runner.h" 12 #include "base/sequenced_task_runner.h"
13 #include "base/strings/string_number_conversions.h" 13 #include "base/strings/string_number_conversions.h"
14 #include "base/strings/string_util.h" 14 #include "base/strings/string_util.h"
15 #include "base/thread_task_runner_handle.h"
16 #include "base/threading/sequenced_worker_pool.h" 15 #include "base/threading/sequenced_worker_pool.h"
16 #include "base/threading/thread_task_runner_handle.h"
17 #include "chrome/browser/extensions/api/networking_private/networking_private_cr edentials_getter.h" 17 #include "chrome/browser/extensions/api/networking_private/networking_private_cr edentials_getter.h"
18 #include "chrome/common/extensions/api/networking_private/networking_private_cry pto.h" 18 #include "chrome/common/extensions/api/networking_private/networking_private_cry pto.h"
19 #include "content/public/browser/browser_thread.h" 19 #include "content/public/browser/browser_thread.h"
20 #include "extensions/browser/api/networking_private/networking_private_api.h" 20 #include "extensions/browser/api/networking_private/networking_private_api.h"
21 #include "extensions/browser/api/networking_private/networking_private_service_c lient.h" 21 #include "extensions/browser/api/networking_private/networking_private_service_c lient.h"
22 #include "extensions/common/api/networking_private.h" 22 #include "extensions/common/api/networking_private.h"
23 23
24 namespace extensions { 24 namespace extensions {
25 25
26 namespace { 26 namespace {
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 DCHECK_CURRENTLY_ON(content::BrowserThread::UI); 234 DCHECK_CURRENTLY_ON(content::BrowserThread::UI);
235 Credentials credentials(verification_properties); 235 Credentials credentials(verification_properties);
236 base::PostTaskAndReplyWithResult( 236 base::PostTaskAndReplyWithResult(
237 blocking_pool_task_runner_.get(), FROM_HERE, 237 blocking_pool_task_runner_.get(), FROM_HERE,
238 base::Bind(&DoVerifyAndEncryptData, credentials, data), 238 base::Bind(&DoVerifyAndEncryptData, credentials, data),
239 base::Bind(&VerifyAndEncryptDataCompleted, success_callback, 239 base::Bind(&VerifyAndEncryptDataCompleted, success_callback,
240 failure_callback)); 240 failure_callback));
241 } 241 }
242 242
243 } // namespace extensions 243 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698