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

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

Issue 1918083002: Convert //components/[f-n]* from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: … Created 4 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
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/files/file_util.h" 11 #include "base/files/file_util.h"
12 #include "base/macros.h" 12 #include "base/macros.h"
13 #include "base/memory/scoped_ptr.h"
14 #include "base/memory/weak_ptr.h" 13 #include "base/memory/weak_ptr.h"
15 #include "base/threading/sequenced_worker_pool.h" 14 #include "base/threading/sequenced_worker_pool.h"
16 #include "base/time/time.h" 15 #include "base/time/time.h"
17 #include "base/timer/timer.h" 16 #include "base/timer/timer.h"
18 17
19 namespace feedback { 18 namespace feedback {
20 19
21 typedef base::Callback<void(const std::string&)> ReportDataCallback; 20 typedef base::Callback<void(const std::string&)> ReportDataCallback;
22 21
23 class FeedbackReport; 22 class FeedbackReport;
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 base::TimeDelta retry_delay_; 77 base::TimeDelta retry_delay_;
79 std::string url_; 78 std::string url_;
80 base::SequencedWorkerPool* pool_; 79 base::SequencedWorkerPool* pool_;
81 80
82 DISALLOW_COPY_AND_ASSIGN(FeedbackUploader); 81 DISALLOW_COPY_AND_ASSIGN(FeedbackUploader);
83 }; 82 };
84 83
85 } // namespace feedback 84 } // namespace feedback
86 85
87 #endif // COMPONENTS_FEEDBACK_FEEDBACK_UPLOADER_H_ 86 #endif // COMPONENTS_FEEDBACK_FEEDBACK_UPLOADER_H_
OLDNEW
« no previous file with comments | « components/feedback/feedback_data_unittest.cc ('k') | components/feedback/feedback_uploader_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698