OLD | NEW |
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 "extensions/browser/updater/manifest_fetch_data.h" | 5 #include "extensions/browser/updater/manifest_fetch_data.h" |
6 | 6 |
7 #include <vector> | 7 #include <vector> |
8 | 8 |
9 #include "base/logging.h" | 9 #include "base/logging.h" |
10 #include "base/metrics/histogram.h" | 10 #include "base/metrics/histogram_macros.h" |
11 #include "base/strings/string_number_conversions.h" | 11 #include "base/strings/string_number_conversions.h" |
12 #include "base/strings/string_util.h" | 12 #include "base/strings/string_util.h" |
13 #include "base/strings/stringprintf.h" | 13 #include "base/strings/stringprintf.h" |
14 #include "extensions/common/extension.h" | 14 #include "extensions/common/extension.h" |
15 #include "net/base/escape.h" | 15 #include "net/base/escape.h" |
16 | 16 |
17 namespace extensions { | 17 namespace extensions { |
18 | 18 |
19 namespace { | 19 namespace { |
20 | 20 |
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
170 NOTREACHED(); | 170 NOTREACHED(); |
171 return value == kNeverPinged || value > 0; | 171 return value == kNeverPinged || value > 0; |
172 } | 172 } |
173 | 173 |
174 void ManifestFetchData::Merge(const ManifestFetchData& other) { | 174 void ManifestFetchData::Merge(const ManifestFetchData& other) { |
175 DCHECK(full_url() == other.full_url()); | 175 DCHECK(full_url() == other.full_url()); |
176 request_ids_.insert(other.request_ids_.begin(), other.request_ids_.end()); | 176 request_ids_.insert(other.request_ids_.begin(), other.request_ids_.end()); |
177 } | 177 } |
178 | 178 |
179 } // namespace extensions | 179 } // namespace extensions |
OLD | NEW |