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

Side by Side Diff: chrome/browser/chromeos/policy/upload_job_impl.h

Issue 2443103003: Remove unused include in sequenced_worker_pool.h (Closed)
Patch Set: merge up to r429325 Created 4 years, 1 month 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 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 CHROME_BROWSER_CHROMEOS_POLICY_UPLOAD_JOB_IMPL_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_POLICY_UPLOAD_JOB_IMPL_H_
6 #define CHROME_BROWSER_CHROMEOS_POLICY_UPLOAD_JOB_IMPL_H_ 6 #define CHROME_BROWSER_CHROMEOS_POLICY_UPLOAD_JOB_IMPL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <memory> 9 #include <memory>
10 #include <string> 10 #include <string>
11 11
12 #include "base/macros.h" 12 #include "base/macros.h"
13 #include "base/memory/ref_counted.h" 13 #include "base/memory/ref_counted.h"
14 #include "base/memory/scoped_vector.h" 14 #include "base/memory/scoped_vector.h"
15 #include "base/threading/thread_checker.h" 15 #include "base/threading/thread_checker.h"
16 #include "chrome/browser/chromeos/policy/upload_job.h" 16 #include "chrome/browser/chromeos/policy/upload_job.h"
17 #include "google_apis/gaia/oauth2_token_service.h" 17 #include "google_apis/gaia/oauth2_token_service.h"
18 #include "net/url_request/url_fetcher.h" 18 #include "net/url_request/url_fetcher.h"
19 #include "net/url_request/url_fetcher_delegate.h" 19 #include "net/url_request/url_fetcher_delegate.h"
20 #include "net/url_request/url_request_context_getter.h" 20 #include "net/url_request/url_request_context_getter.h"
21 #include "url/gurl.h" 21 #include "url/gurl.h"
22 22
23 namespace base {
24 class SequencedTaskRunner;
25 }
26
23 namespace policy { 27 namespace policy {
24 28
25 // This implementation of UploadJob uses the OAuth2TokenService to acquire 29 // This implementation of UploadJob uses the OAuth2TokenService to acquire
26 // access tokens for the device management (cloud-based policy) server scope and 30 // access tokens for the device management (cloud-based policy) server scope and
27 // uses a URLFetcher to upload data to the specified upload url. 31 // uses a URLFetcher to upload data to the specified upload url.
28 class UploadJobImpl : public UploadJob, 32 class UploadJobImpl : public UploadJob,
29 public OAuth2TokenService::Consumer, 33 public OAuth2TokenService::Consumer,
30 public net::URLFetcherDelegate { 34 public net::URLFetcherDelegate {
31 public: 35 public:
32 // UploadJobImpl uses a MimeBoundaryGenerator to generate strings which 36 // UploadJobImpl uses a MimeBoundaryGenerator to generate strings which
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 // Should remain the last member so it will be destroyed first and 177 // Should remain the last member so it will be destroyed first and
174 // invalidate all weak pointers. 178 // invalidate all weak pointers.
175 base::WeakPtrFactory<UploadJobImpl> weak_factory_; 179 base::WeakPtrFactory<UploadJobImpl> weak_factory_;
176 180
177 DISALLOW_COPY_AND_ASSIGN(UploadJobImpl); 181 DISALLOW_COPY_AND_ASSIGN(UploadJobImpl);
178 }; 182 };
179 183
180 } // namespace policy 184 } // namespace policy
181 185
182 #endif // CHROME_BROWSER_CHROMEOS_POLICY_UPLOAD_JOB_IMPL_H_ 186 #endif // CHROME_BROWSER_CHROMEOS_POLICY_UPLOAD_JOB_IMPL_H_
OLDNEW
« no previous file with comments | « cc/test/fake_remote_compositor_bridge.cc ('k') | chrome/browser/chromeos/policy/upload_job_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698