1 // Copyright (c) 2012 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 // Contains functions used by BrowserMain() that are linux-specific.
7 #ifndef CHROME_BROWSER_CHROME_BROWSER_MAIN_LINUX_H_
8 #define CHROME_BROWSER_CHROME_BROWSER_MAIN_LINUX_H_
10 #include "base/compiler_specific.h"
11 #include "base/memory/scoped_ptr.h"
12 #include "chrome/browser/chrome_browser_main_posix.h"
14 #if !defined(OS_CHROMEOS)
16 class StorageMonitorLinux
;
20 class ChromeBrowserMainPartsLinux
: public ChromeBrowserMainPartsPosix
{
22 explicit ChromeBrowserMainPartsLinux(
23 const content::MainFunctionParams
& parameters
);
24 virtual ~ChromeBrowserMainPartsLinux();
26 // ChromeBrowserMainParts overrides.
27 virtual void PreProfileInit() OVERRIDE
;
28 virtual void PostProfileInit() OVERRIDE
;
29 virtual void PostMainMessageLoopRun() OVERRIDE
;
32 #if !defined(OS_CHROMEOS)
33 scoped_ptr
<chrome::StorageMonitorLinux
> storage_monitor_
;
36 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainPartsLinux
);
39 #endif // CHROME_BROWSER_CHROME_BROWSER_MAIN_LINUX_H_