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

Side by Side Diff: chromecast/shell/app/cast_main_delegate.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_APP_CAST_MAIN_DELEGATE_H_ 5 #ifndef CHROMECAST_SHELL_APP_CAST_MAIN_DELEGATE_H_
6 #define CHROMECAST_SHELL_APP_CAST_MAIN_DELEGATE_H_ 6 #define CHROMECAST_SHELL_APP_CAST_MAIN_DELEGATE_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "chromecast/shell/common/cast_content_client.h" 10 #include "chromecast/shell/common/cast_content_client.h"
(...skipping 11 matching lines...) Expand all
22 22
23 class CastContentBrowserClient; 23 class CastContentBrowserClient;
24 class CastContentRendererClient; 24 class CastContentRendererClient;
25 25
26 class CastMainDelegate : public content::ContentMainDelegate { 26 class CastMainDelegate : public content::ContentMainDelegate {
27 public: 27 public:
28 CastMainDelegate(); 28 CastMainDelegate();
29 virtual ~CastMainDelegate(); 29 virtual ~CastMainDelegate();
30 30
31 // content::ContentMainDelegate implementation: 31 // content::ContentMainDelegate implementation:
32 virtual bool BasicStartupComplete(int* exit_code) OVERRIDE; 32 virtual bool BasicStartupComplete(int* exit_code) override;
33 virtual void PreSandboxStartup() OVERRIDE; 33 virtual void PreSandboxStartup() override;
34 virtual int RunProcess( 34 virtual int RunProcess(
35 const std::string& process_type, 35 const std::string& process_type,
36 const content::MainFunctionParams& main_function_params) OVERRIDE; 36 const content::MainFunctionParams& main_function_params) override;
37 #if !defined(OS_ANDROID) 37 #if !defined(OS_ANDROID)
38 virtual void ZygoteForked() OVERRIDE; 38 virtual void ZygoteForked() override;
39 #endif // !defined(OS_ANDROID) 39 #endif // !defined(OS_ANDROID)
40 virtual content::ContentBrowserClient* CreateContentBrowserClient() OVERRIDE; 40 virtual content::ContentBrowserClient* CreateContentBrowserClient() override;
41 virtual content::ContentRendererClient* 41 virtual content::ContentRendererClient*
42 CreateContentRendererClient() OVERRIDE; 42 CreateContentRendererClient() override;
43 43
44 private: 44 private:
45 void InitializeResourceBundle(); 45 void InitializeResourceBundle();
46 46
47 scoped_ptr<CastContentBrowserClient> browser_client_; 47 scoped_ptr<CastContentBrowserClient> browser_client_;
48 scoped_ptr<CastContentRendererClient> renderer_client_; 48 scoped_ptr<CastContentRendererClient> renderer_client_;
49 scoped_ptr<CastResourceDelegate> resource_delegate_; 49 scoped_ptr<CastResourceDelegate> resource_delegate_;
50 CastContentClient content_client_; 50 CastContentClient content_client_;
51 51
52 #if defined(OS_ANDROID) 52 #if defined(OS_ANDROID)
53 scoped_ptr<content::BrowserMainRunner> browser_runner_; 53 scoped_ptr<content::BrowserMainRunner> browser_runner_;
54 #endif // defined(OS_ANDROID) 54 #endif // defined(OS_ANDROID)
55 55
56 DISALLOW_COPY_AND_ASSIGN(CastMainDelegate); 56 DISALLOW_COPY_AND_ASSIGN(CastMainDelegate);
57 }; 57 };
58 58
59 } // namespace shell 59 } // namespace shell
60 } // namespace chromecast 60 } // namespace chromecast
61 61
62 #endif // CHROMECAST_SHELL_APP_CAST_MAIN_DELEGATE_H_ 62 #endif // CHROMECAST_SHELL_APP_CAST_MAIN_DELEGATE_H_
OLDNEW
« no previous file with comments | « chromecast/service/cast_service_simple.cc ('k') | chromecast/shell/browser/android/cast_window_android.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698