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

Side by Side Diff: ios/web/webui/url_data_manager_ios.cc

Issue 1544743002: Switch to standard integer types in ios/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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 | « ios/web/webui/url_data_manager_ios.h ('k') | ios/web/webui/url_data_manager_ios_backend.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 "ios/web/webui/url_data_manager_ios.h" 5 #include "ios/web/webui/url_data_manager_ios.h"
6 6
7 #include <stddef.h>
8
7 #include <vector> 9 #include <vector>
8 10
9 #include "base/bind.h" 11 #include "base/bind.h"
10 #include "base/lazy_instance.h" 12 #include "base/lazy_instance.h"
11 #include "base/memory/ref_counted_memory.h" 13 #include "base/memory/ref_counted_memory.h"
12 #include "base/message_loop/message_loop.h" 14 #include "base/message_loop/message_loop.h"
13 #include "base/strings/string_util.h" 15 #include "base/strings/string_util.h"
14 #include "base/synchronization/lock.h" 16 #include "base/synchronization/lock.h"
15 #include "ios/web/public/browser_state.h" 17 #include "ios/web/public/browser_state.h"
16 #include "ios/web/public/url_data_source_ios.h" 18 #include "ios/web/public/url_data_source_ios.h"
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 bool URLDataManagerIOS::IsScheduledForDeletion( 125 bool URLDataManagerIOS::IsScheduledForDeletion(
124 const URLDataSourceIOSImpl* data_source) { 126 const URLDataSourceIOSImpl* data_source) {
125 base::AutoLock lock(g_delete_lock.Get()); 127 base::AutoLock lock(g_delete_lock.Get());
126 if (!data_sources_) 128 if (!data_sources_)
127 return false; 129 return false;
128 return std::find(data_sources_->begin(), data_sources_->end(), data_source) != 130 return std::find(data_sources_->begin(), data_sources_->end(), data_source) !=
129 data_sources_->end(); 131 data_sources_->end();
130 } 132 }
131 133
132 } // namespace web 134 } // namespace web
OLDNEW
« no previous file with comments | « ios/web/webui/url_data_manager_ios.h ('k') | ios/web/webui/url_data_manager_ios_backend.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698