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

Side by Side Diff: chrome/browser/browser_process_platform_part.h

Issue 14951007: Refactor BrowserProcessPlatformPart. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix ios? Created 7 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/browser_process_impl.cc ('k') | chrome/browser/browser_process_platform_part.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 (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 CHROME_BROWSER_BROWSER_PROCESS_PLATFORM_PART_H_ 5 #ifndef CHROME_BROWSER_BROWSER_PROCESS_PLATFORM_PART_H_
6 #define CHROME_BROWSER_BROWSER_PROCESS_PLATFORM_PART_H_ 6 #define CHROME_BROWSER_BROWSER_PROCESS_PLATFORM_PART_H_
7 7
8 #include "base/basictypes.h" 8 #include "build/build_config.h"
9 9
10 class CommandLine; 10 // Include the appropriate BrowserProcessPlatformPart based on the platform.
11 11 #if defined(OS_CHROMEOS)
12 class BrowserProcessPlatformPart { 12 #include "chrome/browser/browser_process_platform_part_chromeos.h"
13 public: 13 #elif defined(OS_WIN) && defined(USE_AURA)
14 BrowserProcessPlatformPart(); 14 #include "chrome/browser/browser_process_platform_part_aurawin.h"
15 virtual ~BrowserProcessPlatformPart(); 15 #else
16 16 #include "chrome/browser/browser_process_platform_part_base.h"
17 // Called after creating the process singleton or when another chrome 17 typedef BrowserProcessPlatformPartBase BrowserProcessPlatformPart;
18 // rendez-vous with this one. 18 #endif
19 virtual void PlatformSpecificCommandLineProcessing(
20 const CommandLine& command_line);
21
22 // Called from BrowserProcessImpl::StartTearDown().
23 virtual void StartTearDown();
24
25 private:
26 DISALLOW_COPY_AND_ASSIGN(BrowserProcessPlatformPart);
27 };
28 19
29 #endif // CHROME_BROWSER_BROWSER_PROCESS_PLATFORM_PART_H_ 20 #endif // CHROME_BROWSER_BROWSER_PROCESS_PLATFORM_PART_H_
OLDNEW
« no previous file with comments | « chrome/browser/browser_process_impl.cc ('k') | chrome/browser/browser_process_platform_part.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698