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

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

Issue 2691263002: 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_hash_fetcher.h" 5 #include "extensions/browser/content_hash_fetcher.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include <algorithm> 9 #include <algorithm>
10 #include <memory> 10 #include <memory>
11 #include <vector> 11 #include <vector>
12 12
13 #include "base/base64.h" 13 #include "base/base64.h"
14 #include "base/files/file_enumerator.h" 14 #include "base/files/file_enumerator.h"
15 #include "base/files/file_util.h" 15 #include "base/files/file_util.h"
16 #include "base/json/json_reader.h" 16 #include "base/json/json_reader.h"
17 #include "base/macros.h" 17 #include "base/macros.h"
18 #include "base/memory/ref_counted.h" 18 #include "base/memory/ref_counted.h"
19 #include "base/metrics/histogram_macros.h" 19 #include "base/metrics/histogram_macros.h"
20 #include "base/synchronization/lock.h" 20 #include "base/synchronization/lock.h"
21 #include "base/task_runner_util.h" 21 #include "base/task_runner_util.h"
22 #include "base/threading/sequenced_worker_pool.h"
23 #include "base/timer/elapsed_timer.h" 22 #include "base/timer/elapsed_timer.h"
24 #include "base/version.h" 23 #include "base/version.h"
25 #include "content/public/browser/browser_thread.h" 24 #include "content/public/browser/browser_thread.h"
26 #include "crypto/sha2.h" 25 #include "crypto/sha2.h"
27 #include "extensions/browser/computed_hashes.h" 26 #include "extensions/browser/computed_hashes.h"
28 #include "extensions/browser/content_hash_tree.h" 27 #include "extensions/browser/content_hash_tree.h"
29 #include "extensions/browser/content_verifier_delegate.h" 28 #include "extensions/browser/content_verifier_delegate.h"
30 #include "extensions/browser/verified_contents.h" 29 #include "extensions/browser/verified_contents.h"
31 #include "extensions/common/constants.h" 30 #include "extensions/common/constants.h"
32 #include "extensions/common/extension.h" 31 #include "extensions/common/extension.h"
(...skipping 466 matching lines...) Expand 10 before | Expand all | Expand 10 after
499 498
500 for (JobMap::iterator i = jobs_.begin(); i != jobs_.end(); ++i) { 499 for (JobMap::iterator i = jobs_.begin(); i != jobs_.end(); ++i) {
501 if (i->second.get() == job) { 500 if (i->second.get() == job) {
502 jobs_.erase(i); 501 jobs_.erase(i);
503 break; 502 break;
504 } 503 }
505 } 504 }
506 } 505 }
507 506
508 } // namespace extensions 507 } // namespace extensions
OLDNEW
« no previous file with comments | « extensions/browser/api/api_resource_manager.h ('k') | extensions/browser/content_hash_fetcher_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698