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

Unified Diff: chromecast/shell/browser/cast_browser_main_parts.h

Issue 638803002: Reorganizes Chromecast code to better reflect functional dependencies. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: extra DEPS: chromecast/crash/android --> chromecast/common 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 side-by-side diff with in-line comments
Download patch
Index: chromecast/shell/browser/cast_browser_main_parts.h
diff --git a/chromecast/shell/browser/cast_browser_main_parts.h b/chromecast/shell/browser/cast_browser_main_parts.h
deleted file mode 100644
index b109f1385bca85f50aba3d6d61da65ab1a77cc28..0000000000000000000000000000000000000000
--- a/chromecast/shell/browser/cast_browser_main_parts.h
+++ /dev/null
@@ -1,45 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CHROMECAST_SHELL_BROWSER_CAST_BROWSER_MAIN_PARTS_H_
-#define CHROMECAST_SHELL_BROWSER_CAST_BROWSER_MAIN_PARTS_H_
-
-#include "base/macros.h"
-#include "base/memory/ref_counted.h"
-#include "base/memory/scoped_ptr.h"
-#include "content/public/browser/browser_main_parts.h"
-#include "content/public/common/main_function_params.h"
-
-namespace chromecast {
-namespace shell {
-class CastBrowserProcess;
-class URLRequestContextFactory;
-
-class CastBrowserMainParts : public content::BrowserMainParts {
- public:
- CastBrowserMainParts(
- const content::MainFunctionParams& parameters,
- URLRequestContextFactory* url_request_context_factory);
- virtual ~CastBrowserMainParts();
-
- // content::BrowserMainParts implementation:
- virtual void PreMainMessageLoopStart() override;
- virtual void PostMainMessageLoopStart() override;
- virtual int PreCreateThreads() override;
- virtual void PreMainMessageLoopRun() override;
- virtual bool MainMessageLoopRun(int* result_code) override;
- virtual void PostMainMessageLoopRun() override;
-
- private:
- scoped_ptr<CastBrowserProcess> cast_browser_process_;
- const content::MainFunctionParams parameters_; // For running browser tests.
- URLRequestContextFactory* const url_request_context_factory_;
-
- DISALLOW_COPY_AND_ASSIGN(CastBrowserMainParts);
-};
-
-} // namespace shell
-} // namespace chromecast
-
-#endif // CHROMECAST_SHELL_BROWSER_CAST_BROWSER_MAIN_PARTS_H_
« no previous file with comments | « chromecast/shell/browser/cast_browser_context.cc ('k') | chromecast/shell/browser/cast_browser_main_parts.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698