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

Side by Side Diff: components/feedback/feedback_uploader.h

Issue 285383003: Add header required for cros build (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 7 months 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 | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_FEEDBACK_FEEDBACK_UPLOADER_H_ 5 #ifndef COMPONENTS_FEEDBACK_FEEDBACK_UPLOADER_H_
6 #define COMPONENTS_FEEDBACK_FEEDBACK_UPLOADER_H_ 6 #define COMPONENTS_FEEDBACK_FEEDBACK_UPLOADER_H_
7 7
8 #include <queue> 8 #include <queue>
9 #include <string> 9 #include <string>
10 10
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
12 #include "base/file_util.h" 12 #include "base/file_util.h"
13 #include "base/memory/scoped_ptr.h" 13 #include "base/memory/scoped_ptr.h"
14 #include "base/memory/weak_ptr.h" 14 #include "base/memory/weak_ptr.h"
15 #include "base/threading/sequenced_worker_pool.h"
15 #include "base/time/time.h" 16 #include "base/time/time.h"
16 #include "base/timer/timer.h" 17 #include "base/timer/timer.h"
17 18
18 namespace feedback { 19 namespace feedback {
19 20
20 typedef base::Callback<void(const std::string&)> ReportDataCallback; 21 typedef base::Callback<void(const std::string&)> ReportDataCallback;
21 22
22 class FeedbackReport; 23 class FeedbackReport;
23 24
24 // FeedbackUploader is used to add a feedback report to the queue of reports 25 // FeedbackUploader is used to add a feedback report to the queue of reports
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 base::TimeDelta retry_delay_; 77 base::TimeDelta retry_delay_;
77 std::string url_; 78 std::string url_;
78 base::SequencedWorkerPool* pool_; 79 base::SequencedWorkerPool* pool_;
79 80
80 DISALLOW_COPY_AND_ASSIGN(FeedbackUploader); 81 DISALLOW_COPY_AND_ASSIGN(FeedbackUploader);
81 }; 82 };
82 83
83 } // namespace feedback 84 } // namespace feedback
84 85
85 #endif // COMPONENTS_FEEDBACK_FEEDBACK_UPLOADER_H_ 86 #endif // COMPONENTS_FEEDBACK_FEEDBACK_UPLOADER_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698