summaryrefslogtreecommitdiffstats
path: root/chrome/browser/chrome_browser_main_gtk.h
blob: e55e4fe193888d48e8c287710de8e6b6d71c98de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// Copyright (c) 2011 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.

// Contains functions used by BrowserMain() that are gtk-specific.

#ifndef CHROME_BROWSER_CHROME_BROWSER_MAIN_GTK_H_
#define CHROME_BROWSER_CHROME_BROWSER_MAIN_GTK_H_
#pragma once

#include "base/compiler_specific.h"
#include "chrome/browser/chrome_browser_main_posix.h"
#include "chrome/browser/chrome_browser_main_x11.h"

class ChromeBrowserMainPartsGtk : public ChromeBrowserMainPartsPosix {
 public:
  explicit ChromeBrowserMainPartsGtk(const MainFunctionParams& parameters);

  virtual void PreEarlyInitialization() OVERRIDE;

 private:
  void DetectRunningAsRoot();
};

#endif  // CHROME_BROWSER_CHROME_BROWSER_MAIN_GTK_H_