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

Side by Side Diff: content/common/ax_content_node_data.cc

Issue 1445003002: Use std::default_delete as the default deleter for scoped_ptr. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: How many trial and errors before this builds on the Windows bots Created 5 years, 1 month 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 | « content/child/blob_storage/blob_consolidation.cc ('k') | crypto/scoped_nss_types.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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "content/common/ax_content_node_data.h"
6
7 #include <algorithm>
8
5 #include "base/strings/string_number_conversions.h" 9 #include "base/strings/string_number_conversions.h"
6 #include "content/common/ax_content_node_data.h"
7 10
8 using base::IntToString; 11 using base::IntToString;
9 12
10 namespace content { 13 namespace content {
11 14
12 namespace { 15 namespace {
13 16
14 // Helper function that finds a key in a vector of pairs by matching on the 17 // Helper function that finds a key in a vector of pairs by matching on the
15 // first value, and returns an iterator. 18 // first value, and returns an iterator.
16 template<typename FirstType, typename SecondType> 19 template<typename FirstType, typename SecondType>
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 100
98 if (routing_id != -1) 101 if (routing_id != -1)
99 result += " routing_id=" + IntToString(routing_id); 102 result += " routing_id=" + IntToString(routing_id);
100 if (parent_routing_id != -1) 103 if (parent_routing_id != -1)
101 result += " parent_routing_id=" + IntToString(parent_routing_id); 104 result += " parent_routing_id=" + IntToString(parent_routing_id);
102 105
103 return result; 106 return result;
104 } 107 }
105 108
106 } // namespace ui 109 } // namespace ui
OLDNEW
« no previous file with comments | « content/child/blob_storage/blob_consolidation.cc ('k') | crypto/scoped_nss_types.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698