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

Side by Side Diff: chrome/browser/ui/aura/chrome_browser_main_extra_parts_aura.h

Issue 1547793004: Make gpu black list work again on Linux (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove changes from gpu_info_collector files Created 4 years, 10 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 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_UI_AURA_CHROME_BROWSER_MAIN_EXTRA_PARTS_AURA_H_ 5 #ifndef CHROME_BROWSER_UI_AURA_CHROME_BROWSER_MAIN_EXTRA_PARTS_AURA_H_
6 #define CHROME_BROWSER_UI_AURA_CHROME_BROWSER_MAIN_EXTRA_PARTS_AURA_H_ 6 #define CHROME_BROWSER_UI_AURA_CHROME_BROWSER_MAIN_EXTRA_PARTS_AURA_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
11 #include "build/build_config.h" 11 #include "build/build_config.h"
12 #include "chrome/browser/chrome_browser_main_extra_parts.h" 12 #include "chrome/browser/chrome_browser_main_extra_parts.h"
13 13
14 class ChromeBrowserMainExtraPartsAura : public ChromeBrowserMainExtraParts { 14 class ChromeBrowserMainExtraPartsAura : public ChromeBrowserMainExtraParts {
15 public: 15 public:
16 ChromeBrowserMainExtraPartsAura(); 16 ChromeBrowserMainExtraPartsAura();
17 ~ChromeBrowserMainExtraPartsAura() override; 17 ~ChromeBrowserMainExtraPartsAura() override;
18 18
19 // Overridden from ChromeBrowserMainExtraParts: 19 // Overridden from ChromeBrowserMainExtraParts:
20 void PreEarlyInitialization() override; 20 void PreEarlyInitialization() override;
21 void ToolkitInitialized() override; 21 void ToolkitInitialized() override;
22 void PreCreateThreads() override; 22 void PreCreateThreadsBegin() override;
23 void PreProfileInit() override; 23 void PreProfileInit() override;
24 void PostMainMessageLoopRun() override; 24 void PostMainMessageLoopRun() override;
25 25
26 private: 26 private:
27 #if defined(OS_LINUX) && !defined(OS_CHROMEOS) 27 #if defined(OS_LINUX) && !defined(OS_CHROMEOS)
28 // On the Linux desktop, we want to prevent the user from logging in as root, 28 // On the Linux desktop, we want to prevent the user from logging in as root,
29 // so that we don't destroy the profile. 29 // so that we don't destroy the profile.
30 void DetectRunningAsRoot(); 30 void DetectRunningAsRoot();
31 #endif 31 #endif
32 32
33 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainExtraPartsAura); 33 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainExtraPartsAura);
34 }; 34 };
35 35
36 #endif // CHROME_BROWSER_UI_AURA_CHROME_BROWSER_MAIN_EXTRA_PARTS_AURA_H_ 36 #endif // CHROME_BROWSER_UI_AURA_CHROME_BROWSER_MAIN_EXTRA_PARTS_AURA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698