| OLD | NEW |
| 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 Loading... |
| 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 |
| OLD | NEW |