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

Side by Side Diff: extensions/browser/content_verify_job.cc

Issue 2694813005: Revert of Remove header dependencies from sequence_checker.h to sequenced_worker_pool.h (Closed)
Patch Set: Created 3 years, 10 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 "extensions/browser/content_verify_job.h" 5 #include "extensions/browser/content_verify_job.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "base/metrics/histogram_macros.h" 9 #include "base/metrics/histogram_macros.h"
10 #include "base/stl_util.h" 10 #include "base/stl_util.h"
11 #include "base/task_runner_util.h" 11 #include "base/task_runner_util.h"
12 #include "base/threading/sequenced_worker_pool.h"
13 #include "base/timer/elapsed_timer.h" 12 #include "base/timer/elapsed_timer.h"
14 #include "content/public/browser/browser_thread.h" 13 #include "content/public/browser/browser_thread.h"
15 #include "crypto/secure_hash.h" 14 #include "crypto/secure_hash.h"
16 #include "crypto/sha2.h" 15 #include "crypto/sha2.h"
17 #include "extensions/browser/content_hash_reader.h" 16 #include "extensions/browser/content_hash_reader.h"
18 17
19 namespace extensions { 18 namespace extensions {
20 19
21 namespace { 20 namespace {
22 21
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
214 << " reason:" << reason; 213 << " reason:" << reason;
215 failure_callback_.Run(reason); 214 failure_callback_.Run(reason);
216 failure_callback_.Reset(); 215 failure_callback_.Reset();
217 } 216 }
218 if (g_test_observer) 217 if (g_test_observer)
219 g_test_observer->JobFinished( 218 g_test_observer->JobFinished(
220 hash_reader_->extension_id(), hash_reader_->relative_path(), failed_); 219 hash_reader_->extension_id(), hash_reader_->relative_path(), failed_);
221 } 220 }
222 221
223 } // namespace extensions 222 } // namespace extensions
OLDNEW
« no previous file with comments | « extensions/browser/content_hash_fetcher_unittest.cc ('k') | extensions/browser/updater/update_client_config.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698