| 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 #ifndef EXTENSIONS_BROWSER_UPDATER_MANIFEST_FETCH_DATA_H_ | 5 #ifndef EXTENSIONS_BROWSER_UPDATER_MANIFEST_FETCH_DATA_H_ |
| 6 #define EXTENSIONS_BROWSER_UPDATER_MANIFEST_FETCH_DATA_H_ | 6 #define EXTENSIONS_BROWSER_UPDATER_MANIFEST_FETCH_DATA_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <set> | 9 #include <set> |
| 10 #include <string> | 10 #include <string> |
| 11 | 11 |
| 12 #include "base/basictypes.h" | 12 #include "base/macros.h" |
| 13 #include "url/gurl.h" | 13 #include "url/gurl.h" |
| 14 | 14 |
| 15 namespace extensions { | 15 namespace extensions { |
| 16 | 16 |
| 17 // To save on server resources we can request updates for multiple extensions | 17 // To save on server resources we can request updates for multiple extensions |
| 18 // in one manifest check. This class helps us keep track of the id's for a | 18 // in one manifest check. This class helps us keep track of the id's for a |
| 19 // given fetch, building up the actual URL, and what if anything to include | 19 // given fetch, building up the actual URL, and what if anything to include |
| 20 // in the ping parameter. | 20 // in the ping parameter. |
| 21 class ManifestFetchData { | 21 class ManifestFetchData { |
| 22 public: | 22 public: |
| (...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 131 // The ping mode for this fetch. This determines whether or not ping data | 131 // The ping mode for this fetch. This determines whether or not ping data |
| 132 // (and possibly extra metrics) will be included in the fetch query. | 132 // (and possibly extra metrics) will be included in the fetch query. |
| 133 const PingMode ping_mode_; | 133 const PingMode ping_mode_; |
| 134 | 134 |
| 135 DISALLOW_COPY_AND_ASSIGN(ManifestFetchData); | 135 DISALLOW_COPY_AND_ASSIGN(ManifestFetchData); |
| 136 }; | 136 }; |
| 137 | 137 |
| 138 } // namespace extensions | 138 } // namespace extensions |
| 139 | 139 |
| 140 #endif // EXTENSIONS_BROWSER_UPDATER_MANIFEST_FETCH_DATA_H_ | 140 #endif // EXTENSIONS_BROWSER_UPDATER_MANIFEST_FETCH_DATA_H_ |
| OLD | NEW |