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

Side by Side Diff: chromecast/shell/browser/cast_browser_main_parts.h

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 #ifndef CHROMECAST_SHELL_BROWSER_CAST_BROWSER_MAIN_PARTS_H_ 5 #ifndef CHROMECAST_SHELL_BROWSER_CAST_BROWSER_MAIN_PARTS_H_
6 #define CHROMECAST_SHELL_BROWSER_CAST_BROWSER_MAIN_PARTS_H_ 6 #define CHROMECAST_SHELL_BROWSER_CAST_BROWSER_MAIN_PARTS_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
11 #include "content/public/browser/browser_main_parts.h" 11 #include "content/public/browser/browser_main_parts.h"
12 #include "content/public/common/main_function_params.h" 12 #include "content/public/common/main_function_params.h"
13 13
14 namespace chromecast { 14 namespace chromecast {
15 namespace shell { 15 namespace shell {
16 class CastBrowserProcess; 16 class CastBrowserProcess;
17 class URLRequestContextFactory; 17 class URLRequestContextFactory;
18 18
19 class CastBrowserMainParts : public content::BrowserMainParts { 19 class CastBrowserMainParts : public content::BrowserMainParts {
20 public: 20 public:
21 CastBrowserMainParts( 21 CastBrowserMainParts(
22 const content::MainFunctionParams& parameters, 22 const content::MainFunctionParams& parameters,
23 URLRequestContextFactory* url_request_context_factory); 23 URLRequestContextFactory* url_request_context_factory);
24 virtual ~CastBrowserMainParts(); 24 virtual ~CastBrowserMainParts();
25 25
26 // content::BrowserMainParts implementation: 26 // content::BrowserMainParts implementation:
27 virtual void PreMainMessageLoopStart() OVERRIDE; 27 virtual void PreMainMessageLoopStart() override;
28 virtual void PostMainMessageLoopStart() OVERRIDE; 28 virtual void PostMainMessageLoopStart() override;
29 virtual int PreCreateThreads() OVERRIDE; 29 virtual int PreCreateThreads() override;
30 virtual void PreMainMessageLoopRun() OVERRIDE; 30 virtual void PreMainMessageLoopRun() override;
31 virtual bool MainMessageLoopRun(int* result_code) OVERRIDE; 31 virtual bool MainMessageLoopRun(int* result_code) override;
32 virtual void PostMainMessageLoopRun() OVERRIDE; 32 virtual void PostMainMessageLoopRun() override;
33 33
34 private: 34 private:
35 scoped_ptr<CastBrowserProcess> cast_browser_process_; 35 scoped_ptr<CastBrowserProcess> cast_browser_process_;
36 const content::MainFunctionParams parameters_; // For running browser tests. 36 const content::MainFunctionParams parameters_; // For running browser tests.
37 URLRequestContextFactory* const url_request_context_factory_; 37 URLRequestContextFactory* const url_request_context_factory_;
38 38
39 DISALLOW_COPY_AND_ASSIGN(CastBrowserMainParts); 39 DISALLOW_COPY_AND_ASSIGN(CastBrowserMainParts);
40 }; 40 };
41 41
42 } // namespace shell 42 } // namespace shell
43 } // namespace chromecast 43 } // namespace chromecast
44 44
45 #endif // CHROMECAST_SHELL_BROWSER_CAST_BROWSER_MAIN_PARTS_H_ 45 #endif // CHROMECAST_SHELL_BROWSER_CAST_BROWSER_MAIN_PARTS_H_
OLDNEW
« no previous file with comments | « chromecast/shell/browser/cast_browser_context.cc ('k') | chromecast/shell/browser/cast_content_browser_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698