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

Side by Side Diff: components/domain_reliability/uploader.h

Issue 2511973004: components: Cleanup class/struct fwd declarations (Closed)
Patch Set: Rebase on top of current 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
OLDNEW
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 COMPONENTS_DOMAIN_RELIABILITY_UPLOADER_H_ 5 #ifndef COMPONENTS_DOMAIN_RELIABILITY_UPLOADER_H_
6 #define COMPONENTS_DOMAIN_RELIABILITY_UPLOADER_H_ 6 #define COMPONENTS_DOMAIN_RELIABILITY_UPLOADER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <memory> 9 #include <memory>
10 10
11 #include "base/callback_forward.h" 11 #include "base/callback_forward.h"
12 #include "base/memory/ref_counted.h" 12 #include "base/memory/ref_counted.h"
13 #include "base/time/time.h" 13 #include "base/time/time.h"
14 #include "components/domain_reliability/domain_reliability_export.h" 14 #include "components/domain_reliability/domain_reliability_export.h"
15 #include "url/gurl.h" 15 #include "url/gurl.h"
16 16
17 namespace net { 17 namespace net {
18 class URLFetcher;
19 class URLRequest; 18 class URLRequest;
20 class URLRequestContextGetter; 19 class URLRequestContextGetter;
21 } // namespace net 20 } // namespace net
22 21
23 namespace domain_reliability { 22 namespace domain_reliability {
24 23
25 class MockableTime; 24 class MockableTime;
26 25
27 // Uploads Domain Reliability reports to collectors. 26 // Uploads Domain Reliability reports to collectors.
28 class DOMAIN_RELIABILITY_EXPORT DomainReliabilityUploader { 27 class DOMAIN_RELIABILITY_EXPORT DomainReliabilityUploader {
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 const UploadCallback& callback) = 0; 63 const UploadCallback& callback) = 0;
65 64
66 virtual void set_discard_uploads(bool discard_uploads) = 0; 65 virtual void set_discard_uploads(bool discard_uploads) = 0;
67 66
68 static int GetURLRequestUploadDepth(const net::URLRequest& request); 67 static int GetURLRequestUploadDepth(const net::URLRequest& request);
69 }; 68 };
70 69
71 } // namespace domain_reliability 70 } // namespace domain_reliability
72 71
73 #endif // COMPONENTS_DOMAIN_RELIABILITY_UPLOADER_H_ 72 #endif // COMPONENTS_DOMAIN_RELIABILITY_UPLOADER_H_
OLDNEW
« no previous file with comments | « components/domain_reliability/test_util.h ('k') | components/drive/chromeos/change_list_loader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698