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

Side by Side Diff: chromecast/app/cast_main_delegate.h

Issue 1824723003: [chromecast] Pass media task runner to VideoPlaneController. (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: fixed android build Created 4 years, 9 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 | « no previous file | chromecast/app/cast_main_delegate.cc » ('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 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_APP_CAST_MAIN_DELEGATE_H_ 5 #ifndef CHROMECAST_APP_CAST_MAIN_DELEGATE_H_
6 #define CHROMECAST_APP_CAST_MAIN_DELEGATE_H_ 6 #define CHROMECAST_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 "build/build_config.h" 10 #include "build/build_config.h"
(...skipping 18 matching lines...) Expand all
29 public: 29 public:
30 CastMainDelegate(); 30 CastMainDelegate();
31 ~CastMainDelegate() override; 31 ~CastMainDelegate() override;
32 32
33 // content::ContentMainDelegate implementation: 33 // content::ContentMainDelegate implementation:
34 bool BasicStartupComplete(int* exit_code) override; 34 bool BasicStartupComplete(int* exit_code) override;
35 void PreSandboxStartup() override; 35 void PreSandboxStartup() override;
36 int RunProcess( 36 int RunProcess(
37 const std::string& process_type, 37 const std::string& process_type,
38 const content::MainFunctionParams& main_function_params) override; 38 const content::MainFunctionParams& main_function_params) override;
39 void ProcessExiting(const std::string& process_type) override;
40 #if !defined(OS_ANDROID) 39 #if !defined(OS_ANDROID)
41 void ZygoteForked() override; 40 void ZygoteForked() override;
42 #endif // !defined(OS_ANDROID) 41 #endif // !defined(OS_ANDROID)
43 content::ContentBrowserClient* CreateContentBrowserClient() override; 42 content::ContentBrowserClient* CreateContentBrowserClient() override;
44 content::ContentRendererClient* CreateContentRendererClient() override; 43 content::ContentRendererClient* CreateContentRendererClient() override;
45 content::ContentUtilityClient* CreateContentUtilityClient() override; 44 content::ContentUtilityClient* CreateContentUtilityClient() override;
46 45
47 private: 46 private:
48 void InitializeResourceBundle(); 47 void InitializeResourceBundle();
49 48
50 scoped_ptr<CastContentBrowserClient> browser_client_; 49 scoped_ptr<CastContentBrowserClient> browser_client_;
51 scoped_ptr<CastContentRendererClient> renderer_client_; 50 scoped_ptr<CastContentRendererClient> renderer_client_;
52 scoped_ptr<CastContentUtilityClient> utility_client_; 51 scoped_ptr<CastContentUtilityClient> utility_client_;
53 scoped_ptr<CastResourceDelegate> resource_delegate_; 52 scoped_ptr<CastResourceDelegate> resource_delegate_;
54 CastContentClient content_client_; 53 CastContentClient content_client_;
55 54
56 #if defined(OS_ANDROID) 55 #if defined(OS_ANDROID)
57 scoped_ptr<content::BrowserMainRunner> browser_runner_; 56 scoped_ptr<content::BrowserMainRunner> browser_runner_;
58 #endif // defined(OS_ANDROID) 57 #endif // defined(OS_ANDROID)
59 58
60 DISALLOW_COPY_AND_ASSIGN(CastMainDelegate); 59 DISALLOW_COPY_AND_ASSIGN(CastMainDelegate);
61 }; 60 };
62 61
63 } // namespace shell 62 } // namespace shell
64 } // namespace chromecast 63 } // namespace chromecast
65 64
66 #endif // CHROMECAST_APP_CAST_MAIN_DELEGATE_H_ 65 #endif // CHROMECAST_APP_CAST_MAIN_DELEGATE_H_
OLDNEW
« no previous file with comments | « no previous file | chromecast/app/cast_main_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698