Disable view source for Developer Tools.
[chromium-blink-merge.git] / chrome / browser / browser_process_platform_part_base.h
blobabf35d301b13b3ebb532183e4762958a14ca5757
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
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_BROWSER_PROCESS_PLATFORM_PART_BASE_H_
6 #define CHROME_BROWSER_BROWSER_PROCESS_PLATFORM_PART_BASE_H_
8 #include "base/basictypes.h"
10 class CommandLine;
12 // A base class for platform-specific BrowserProcessPlatformPart
13 // implementations. This class itself should never be used verbatim.
14 class BrowserProcessPlatformPartBase {
15 public:
16 BrowserProcessPlatformPartBase();
17 virtual ~BrowserProcessPlatformPartBase();
19 // Called after creating the process singleton or when another chrome
20 // rendez-vous with this one.
21 virtual void PlatformSpecificCommandLineProcessing(
22 const CommandLine& command_line);
24 // Called from BrowserProcessImpl::StartTearDown().
25 virtual void StartTearDown();
27 // Called from AttemptExitInternal().
28 virtual void AttemptExit();
30 // Called at the end of BrowserProcessImpl::PreMainMessageLoopRun().
31 virtual void PreMainMessageLoopRun();
33 private:
34 DISALLOW_COPY_AND_ASSIGN(BrowserProcessPlatformPartBase);
37 #endif // CHROME_BROWSER_BROWSER_PROCESS_PLATFORM_PART_BASE_H_