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

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

Issue 1549643002: Switch to standard integer types in extensions/browser/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@clean
Patch Set: Created 5 years 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
« no previous file with comments | « extensions/browser/content_hash_fetcher.h ('k') | extensions/browser/content_hash_reader.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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>
8
7 #include <algorithm> 9 #include <algorithm>
8 10
9 #include "base/base64.h" 11 #include "base/base64.h"
10 #include "base/files/file_enumerator.h" 12 #include "base/files/file_enumerator.h"
11 #include "base/files/file_util.h" 13 #include "base/files/file_util.h"
12 #include "base/json/json_reader.h" 14 #include "base/json/json_reader.h"
15 #include "base/macros.h"
13 #include "base/memory/ref_counted.h" 16 #include "base/memory/ref_counted.h"
14 #include "base/metrics/histogram.h" 17 #include "base/metrics/histogram.h"
15 #include "base/synchronization/lock.h" 18 #include "base/synchronization/lock.h"
16 #include "base/task_runner_util.h" 19 #include "base/task_runner_util.h"
17 #include "base/timer/elapsed_timer.h" 20 #include "base/timer/elapsed_timer.h"
18 #include "base/version.h" 21 #include "base/version.h"
19 #include "content/public/browser/browser_context.h" 22 #include "content/public/browser/browser_context.h"
20 #include "content/public/browser/browser_thread.h" 23 #include "content/public/browser/browser_thread.h"
21 #include "crypto/sha2.h" 24 #include "crypto/sha2.h"
22 #include "extensions/browser/computed_hashes.h" 25 #include "extensions/browser/computed_hashes.h"
(...skipping 469 matching lines...) Expand 10 before | Expand all | Expand 10 after
492 495
493 for (JobMap::iterator i = jobs_.begin(); i != jobs_.end(); ++i) { 496 for (JobMap::iterator i = jobs_.begin(); i != jobs_.end(); ++i) {
494 if (i->second.get() == job) { 497 if (i->second.get() == job) {
495 jobs_.erase(i); 498 jobs_.erase(i);
496 break; 499 break;
497 } 500 }
498 } 501 }
499 } 502 }
500 503
501 } // namespace extensions 504 } // namespace extensions
OLDNEW
« no previous file with comments | « extensions/browser/content_hash_fetcher.h ('k') | extensions/browser/content_hash_reader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698