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

Side by Side Diff: net/base/sdch_dictionary.h

Issue 2531373002: net: Cleanup class/struct forward declarations (Closed)
Patch Set: Rebase on top of master branch Created 4 years 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 | « net/base/proxy_delegate.h ('k') | net/base/test_proxy_delegate.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 #ifndef NET_BASE_SDCH_DICTIONARY_H_ 5 #ifndef NET_BASE_SDCH_DICTIONARY_H_
6 #define NET_BASE_SDCH_DICTIONARY_H_ 6 #define NET_BASE_SDCH_DICTIONARY_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <memory> 10 #include <memory>
11 #include <set> 11 #include <set>
12 #include <string> 12 #include <string>
13 13
14 #include "base/memory/ref_counted.h" 14 #include "base/memory/ref_counted.h"
15 #include "base/time/time.h" 15 #include "base/time/time.h"
16 #include "net/base/net_export.h" 16 #include "net/base/net_export.h"
17 #include "net/base/sdch_problem_codes.h" 17 #include "net/base/sdch_problem_codes.h"
18 #include "url/gurl.h" 18 #include "url/gurl.h"
19 19
20 namespace base {
21 class Clock;
22 class Value;
23 }
24
25 namespace net { 20 namespace net {
26 21
27 // Contains all information for an SDCH dictionary. This class is intended 22 // Contains all information for an SDCH dictionary. This class is intended
28 // to be used with a RefCountedData<> wrappers. These dictionaries 23 // to be used with a RefCountedData<> wrappers. These dictionaries
29 // are vended by SdchManager; see sdch_manager.h for details. 24 // are vended by SdchManager; see sdch_manager.h for details.
30 class NET_EXPORT_PRIVATE SdchDictionary { 25 class NET_EXPORT_PRIVATE SdchDictionary {
31 public: 26 public:
32 // Construct a vc-diff usable dictionary from the dictionary_text starting 27 // Construct a vc-diff usable dictionary from the dictionary_text starting
33 // at the given offset. The supplied client_hash should be used to 28 // at the given offset. The supplied client_hash should be used to
34 // advertise the dictionary's availability relative to the suppplied URL. 29 // advertise the dictionary's availability relative to the suppplied URL.
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 const std::string path_; 98 const std::string path_;
104 const base::Time expiration_; // Implied by max-age. 99 const base::Time expiration_; // Implied by max-age.
105 const std::set<int> ports_; 100 const std::set<int> ports_;
106 101
107 void operator=(const SdchDictionary&) = delete; 102 void operator=(const SdchDictionary&) = delete;
108 }; 103 };
109 104
110 } // namespace net 105 } // namespace net
111 106
112 #endif // NET_BASE_SDCH_DICTIONARY_H_ 107 #endif // NET_BASE_SDCH_DICTIONARY_H_
OLDNEW
« no previous file with comments | « net/base/proxy_delegate.h ('k') | net/base/test_proxy_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698