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

Side by Side Diff: chrome/browser/safe_browsing/safe_browsing_util.cc

Issue 2511683002: Remove unneeded stringprintf.h usage in chrome/ and net/ (Closed)
Patch Set: rebase Created 4 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/safe_browsing/safe_browsing_util.h" 5 #include "chrome/browser/safe_browsing/safe_browsing_util.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/strings/string_util.h" 9 #include "base/strings/string_util.h"
10 #include "base/strings/stringprintf.h"
11 #include "chrome/browser/safe_browsing/chunk.pb.h" 10 #include "chrome/browser/safe_browsing/chunk.pb.h"
12 #include "components/google/core/browser/google_util.h" 11 #include "components/google/core/browser/google_util.h"
13 12
14 namespace safe_browsing { 13 namespace safe_browsing {
15 14
16 // SBChunkData ----------------------------------------------------------------- 15 // SBChunkData -----------------------------------------------------------------
17 16
18 // TODO(shess): Right now this contains a std::unique_ptr<ChunkData> so that the 17 // TODO(shess): Right now this contains a std::unique_ptr<ChunkData> so that the
19 // proto buffer isn't copied all over the place, then these are contained in a 18 // proto buffer isn't copied all over the place, then these are contained in a
20 // ScopedVector for purposes of passing things around between tasks. This seems 19 // ScopedVector for purposes of passing things around between tasks. This seems
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 128
130 // SBChunkDelete --------------------------------------------------------------- 129 // SBChunkDelete ---------------------------------------------------------------
131 130
132 SBChunkDelete::SBChunkDelete() : is_sub_del(false) {} 131 SBChunkDelete::SBChunkDelete() : is_sub_del(false) {}
133 132
134 SBChunkDelete::SBChunkDelete(const SBChunkDelete& other) = default; 133 SBChunkDelete::SBChunkDelete(const SBChunkDelete& other) = default;
135 134
136 SBChunkDelete::~SBChunkDelete() {} 135 SBChunkDelete::~SBChunkDelete() {}
137 136
138 } // namespace safe_browsing 137 } // namespace safe_browsing
OLDNEW
« no previous file with comments | « chrome/browser/safe_browsing/safe_browsing_database.cc ('k') | chrome/browser/search/most_visited_iframe_source.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698