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

Side by Side Diff: sync/test/accounts_client/url_request_context_getter.h

Issue 629733002: replace OVERRIDE and FINAL with override and final in sync/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 | « sync/test/accounts_client/test_accounts_client.cc ('k') | sync/test/engine/fake_model_worker.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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 SYNC_TEST_ACCOUNTS_CLIENT_URL_REQUEST_CONTEXT_GETTER_H_ 5 #ifndef SYNC_TEST_ACCOUNTS_CLIENT_URL_REQUEST_CONTEXT_GETTER_H_
6 #define SYNC_TEST_ACCOUNTS_CLIENT_URL_REQUEST_CONTEXT_GETTER_H_ 6 #define SYNC_TEST_ACCOUNTS_CLIENT_URL_REQUEST_CONTEXT_GETTER_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
11 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
12 #include "net/url_request/url_request_context_getter.h" 12 #include "net/url_request/url_request_context_getter.h"
13 13
14 namespace base { 14 namespace base {
15 class SingleThreadTaskRunner; 15 class SingleThreadTaskRunner;
16 } 16 }
17 17
18 namespace net { 18 namespace net {
19 class URLRequestContext; 19 class URLRequestContext;
20 } 20 }
21 21
22 class URLRequestContextGetter : public net::URLRequestContextGetter { 22 class URLRequestContextGetter : public net::URLRequestContextGetter {
23 public: 23 public:
24 explicit URLRequestContextGetter( 24 explicit URLRequestContextGetter(
25 scoped_refptr<base::SingleThreadTaskRunner> network_task_runner); 25 scoped_refptr<base::SingleThreadTaskRunner> network_task_runner);
26 26
27 // Overridden from net::URLRequestContextGetter: 27 // Overridden from net::URLRequestContextGetter:
28 virtual net::URLRequestContext* GetURLRequestContext() OVERRIDE; 28 virtual net::URLRequestContext* GetURLRequestContext() override;
29 virtual scoped_refptr<base::SingleThreadTaskRunner> 29 virtual scoped_refptr<base::SingleThreadTaskRunner>
30 GetNetworkTaskRunner() const OVERRIDE; 30 GetNetworkTaskRunner() const override;
31 31
32 private: 32 private:
33 virtual ~URLRequestContextGetter(); 33 virtual ~URLRequestContextGetter();
34 34
35 scoped_refptr<base::SingleThreadTaskRunner> network_task_runner_; 35 scoped_refptr<base::SingleThreadTaskRunner> network_task_runner_;
36 36
37 // Only accessed on the IO thread. 37 // Only accessed on the IO thread.
38 scoped_ptr<net::URLRequestContext> url_request_context_; 38 scoped_ptr<net::URLRequestContext> url_request_context_;
39 39
40 DISALLOW_COPY_AND_ASSIGN(URLRequestContextGetter); 40 DISALLOW_COPY_AND_ASSIGN(URLRequestContextGetter);
41 }; 41 };
42 42
43 #endif // SYNC_TEST_ACCOUNTS_CLIENT_URL_REQUEST_CONTEXT_GETTER_H_ 43 #endif // SYNC_TEST_ACCOUNTS_CLIENT_URL_REQUEST_CONTEXT_GETTER_H_
OLDNEW
« no previous file with comments | « sync/test/accounts_client/test_accounts_client.cc ('k') | sync/test/engine/fake_model_worker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698