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

Side by Side Diff: chrome/browser/net/chrome_url_request_context_getter.h

Issue 624173002: replace OVERRIDE and FINAL with override and final in chrome/browser/[j-q]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master 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
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 CHROME_BROWSER_NET_CHROME_URL_REQUEST_CONTEXT_GETTER_H_ 5 #ifndef CHROME_BROWSER_NET_CHROME_URL_REQUEST_CONTEXT_GETTER_H_
6 #define CHROME_BROWSER_NET_CHROME_URL_REQUEST_CONTEXT_GETTER_H_ 6 #define CHROME_BROWSER_NET_CHROME_URL_REQUEST_CONTEXT_GETTER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 19 matching lines...) Expand all
30 // Constructs a ChromeURLRequestContextGetter that will use |factory| to 30 // Constructs a ChromeURLRequestContextGetter that will use |factory| to
31 // create the URLRequestContext. 31 // create the URLRequestContext.
32 explicit ChromeURLRequestContextGetter( 32 explicit ChromeURLRequestContextGetter(
33 ChromeURLRequestContextFactory* factory); 33 ChromeURLRequestContextFactory* factory);
34 34
35 // Note that GetURLRequestContext() can only be called from the IO 35 // Note that GetURLRequestContext() can only be called from the IO
36 // thread (it will assert otherwise). 36 // thread (it will assert otherwise).
37 // GetIOMessageLoopProxy however can be called from any thread. 37 // GetIOMessageLoopProxy however can be called from any thread.
38 // 38 //
39 // net::URLRequestContextGetter implementation. 39 // net::URLRequestContextGetter implementation.
40 virtual net::URLRequestContext* GetURLRequestContext() OVERRIDE; 40 virtual net::URLRequestContext* GetURLRequestContext() override;
41 virtual scoped_refptr<base::SingleThreadTaskRunner> 41 virtual scoped_refptr<base::SingleThreadTaskRunner>
42 GetNetworkTaskRunner() const OVERRIDE; 42 GetNetworkTaskRunner() const override;
43 43
44 // Create an instance for use with an 'original' (non-OTR) profile. This is 44 // Create an instance for use with an 'original' (non-OTR) profile. This is
45 // expected to get called on the UI thread. 45 // expected to get called on the UI thread.
46 static ChromeURLRequestContextGetter* Create( 46 static ChromeURLRequestContextGetter* Create(
47 Profile* profile, 47 Profile* profile,
48 const ProfileIOData* profile_io_data, 48 const ProfileIOData* profile_io_data,
49 content::ProtocolHandlerMap* protocol_handlers, 49 content::ProtocolHandlerMap* protocol_handlers,
50 content::URLRequestInterceptorScopedVector request_interceptors); 50 content::URLRequestInterceptorScopedVector request_interceptors);
51 51
52 // Create an instance for an original profile for media. This is expected to 52 // Create an instance for an original profile for media. This is expected to
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 // NULL before initialization and after invalidation. 93 // NULL before initialization and after invalidation.
94 // Otherwise, it is the URLRequestContext instance that 94 // Otherwise, it is the URLRequestContext instance that
95 // was lazily created by GetURLRequestContext(). 95 // was lazily created by GetURLRequestContext().
96 // Access only from the IO thread. 96 // Access only from the IO thread.
97 net::URLRequestContext* url_request_context_; 97 net::URLRequestContext* url_request_context_;
98 98
99 DISALLOW_COPY_AND_ASSIGN(ChromeURLRequestContextGetter); 99 DISALLOW_COPY_AND_ASSIGN(ChromeURLRequestContextGetter);
100 }; 100 };
101 101
102 #endif // CHROME_BROWSER_NET_CHROME_URL_REQUEST_CONTEXT_GETTER_H_ 102 #endif // CHROME_BROWSER_NET_CHROME_URL_REQUEST_CONTEXT_GETTER_H_
OLDNEW
« no previous file with comments | « chrome/browser/net/chrome_network_delegate_unittest.cc ('k') | chrome/browser/net/chrome_url_request_context_getter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698