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

Side by Side Diff: chrome/browser/net/quota_policy_channel_id_store.cc

Issue 1550593002: Switch to standard integer types in chrome/browser/, part 2 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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
« no previous file with comments | « chrome/browser/net/proxy_service_factory.cc ('k') | chrome/browser/net/referrer.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 "chrome/browser/net/quota_policy_channel_id_store.h" 5 #include "chrome/browser/net/quota_policy_channel_id_store.h"
6 6
7 #include <list> 7 #include <list>
8 8
9 #include "base/basictypes.h"
10 #include "base/bind.h" 9 #include "base/bind.h"
11 #include "base/files/file_path.h" 10 #include "base/files/file_path.h"
12 #include "base/files/file_util.h" 11 #include "base/files/file_util.h"
13 #include "base/logging.h" 12 #include "base/logging.h"
14 #include "base/metrics/histogram.h" 13 #include "base/metrics/histogram.h"
15 #include "base/strings/string_util.h" 14 #include "base/strings/string_util.h"
16 #include "base/threading/thread.h" 15 #include "base/threading/thread.h"
17 #include "base/threading/thread_restrictions.h" 16 #include "base/threading/thread_restrictions.h"
18 #include "net/cookies/cookie_util.h" 17 #include "net/cookies/cookie_util.h"
19 #include "net/extras/sqlite/sqlite_channel_id_store.h" 18 #include "net/extras/sqlite/sqlite_channel_id_store.h"
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 void QuotaPolicyChannelIDStore::OnLoad( 69 void QuotaPolicyChannelIDStore::OnLoad(
71 const LoadedCallback& loaded_callback, 70 const LoadedCallback& loaded_callback,
72 scoped_ptr<ChannelIDVector> channel_ids) { 71 scoped_ptr<ChannelIDVector> channel_ids) {
73 for (ChannelIDVector::const_iterator channel_id = channel_ids->begin(); 72 for (ChannelIDVector::const_iterator channel_id = channel_ids->begin();
74 channel_id != channel_ids->end(); 73 channel_id != channel_ids->end();
75 ++channel_id) { 74 ++channel_id) {
76 server_identifiers_.insert((*channel_id)->server_identifier()); 75 server_identifiers_.insert((*channel_id)->server_identifier());
77 } 76 }
78 loaded_callback.Run(std::move(channel_ids)); 77 loaded_callback.Run(std::move(channel_ids));
79 } 78 }
OLDNEW
« no previous file with comments | « chrome/browser/net/proxy_service_factory.cc ('k') | chrome/browser/net/referrer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698