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

Side by Side Diff: chromecast/shell/browser/cast_browser_context.cc

Issue 630663003: replace OVERRIDE and FINAL with override and final in chromecast/ (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
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 #include "chromecast/shell/browser/cast_browser_context.h" 5 #include "chromecast/shell/browser/cast_browser_context.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/files/file_util.h" 8 #include "base/files/file_util.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "base/path_service.h" 10 #include "base/path_service.h"
(...skipping 12 matching lines...) Expand all
23 23
24 class CastBrowserContext::CastResourceContext : 24 class CastBrowserContext::CastResourceContext :
25 public content::ResourceContext { 25 public content::ResourceContext {
26 public: 26 public:
27 explicit CastResourceContext( 27 explicit CastResourceContext(
28 URLRequestContextFactory* url_request_context_factory) : 28 URLRequestContextFactory* url_request_context_factory) :
29 url_request_context_factory_(url_request_context_factory) {} 29 url_request_context_factory_(url_request_context_factory) {}
30 virtual ~CastResourceContext() {} 30 virtual ~CastResourceContext() {}
31 31
32 // ResourceContext implementation: 32 // ResourceContext implementation:
33 virtual net::HostResolver* GetHostResolver() OVERRIDE { 33 virtual net::HostResolver* GetHostResolver() override {
34 return url_request_context_factory_->GetMainGetter()-> 34 return url_request_context_factory_->GetMainGetter()->
35 GetURLRequestContext()->host_resolver(); 35 GetURLRequestContext()->host_resolver();
36 } 36 }
37 37
38 virtual net::URLRequestContext* GetRequestContext() OVERRIDE { 38 virtual net::URLRequestContext* GetRequestContext() override {
39 return url_request_context_factory_->GetMainGetter()-> 39 return url_request_context_factory_->GetMainGetter()->
40 GetURLRequestContext(); 40 GetURLRequestContext();
41 } 41 }
42 42
43 private: 43 private:
44 URLRequestContextFactory* url_request_context_factory_; 44 URLRequestContextFactory* url_request_context_factory_;
45 45
46 DISALLOW_COPY_AND_ASSIGN(CastResourceContext); 46 DISALLOW_COPY_AND_ASSIGN(CastResourceContext);
47 }; 47 };
48 48
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 return NULL; 134 return NULL;
135 } 135 }
136 136
137 content::SSLHostStateDelegate* CastBrowserContext::GetSSLHostStateDelegate() { 137 content::SSLHostStateDelegate* CastBrowserContext::GetSSLHostStateDelegate() {
138 NOTIMPLEMENTED(); 138 NOTIMPLEMENTED();
139 return NULL; 139 return NULL;
140 } 140 }
141 141
142 } // namespace shell 142 } // namespace shell
143 } // namespace chromecast 143 } // namespace chromecast
OLDNEW
« no previous file with comments | « chromecast/shell/browser/cast_browser_context.h ('k') | chromecast/shell/browser/cast_browser_main_parts.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698