Override server-side simple-cache trial with commandline switches.
[chromium-blink-merge.git] / chrome / browser / chrome_browser_main_linux.h
blob3cc54760cd7e947cc02baf5b987ef6473c2fb821
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)
15 namespace chrome {
16 class StorageMonitorLinux;
18 #endif
20 class ChromeBrowserMainPartsLinux : public ChromeBrowserMainPartsPosix {
21 public:
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;
31 private:
32 #if !defined(OS_CHROMEOS)
33 scoped_ptr<chrome::StorageMonitorLinux> storage_monitor_;
34 #endif
36 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainPartsLinux);
39 #endif // CHROME_BROWSER_CHROME_BROWSER_MAIN_LINUX_H_