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

Side by Side Diff: chrome/browser/ui/views/chrome_browser_main_extra_parts_views_linux.h

Issue 1865213004: Convert //chrome/browser/ui from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 8 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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_VIEWS_CHROME_BROWSER_MAIN_EXTRA_PARTS_VIEWS_LINUX_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_CHROME_BROWSER_MAIN_EXTRA_PARTS_VIEWS_LINUX_H_
6 #define CHROME_BROWSER_UI_VIEWS_CHROME_BROWSER_MAIN_EXTRA_PARTS_VIEWS_LINUX_H_ 6 #define CHROME_BROWSER_UI_VIEWS_CHROME_BROWSER_MAIN_EXTRA_PARTS_VIEWS_LINUX_H_
7 7
8 #include <memory>
9
8 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
9 #include "base/macros.h" 11 #include "base/macros.h"
10 #include "base/memory/scoped_ptr.h"
11 #include "build/build_config.h" 12 #include "build/build_config.h"
12 #include "chrome/browser/ui/views/chrome_browser_main_extra_parts_views.h" 13 #include "chrome/browser/ui/views/chrome_browser_main_extra_parts_views.h"
13 14
14 class ChromeBrowserMainExtraPartsViewsLinux 15 class ChromeBrowserMainExtraPartsViewsLinux
15 : public ChromeBrowserMainExtraPartsViews { 16 : public ChromeBrowserMainExtraPartsViews {
16 public: 17 public:
17 ChromeBrowserMainExtraPartsViewsLinux(); 18 ChromeBrowserMainExtraPartsViewsLinux();
18 ~ChromeBrowserMainExtraPartsViewsLinux() override; 19 ~ChromeBrowserMainExtraPartsViewsLinux() override;
19 20
20 // Overridden from ChromeBrowserMainExtraParts: 21 // Overridden from ChromeBrowserMainExtraParts:
21 void PreEarlyInitialization() override; 22 void PreEarlyInitialization() override;
22 void ToolkitInitialized() override; 23 void ToolkitInitialized() override;
23 void PreCreateThreads() override; 24 void PreCreateThreads() override;
24 void PreProfileInit() override; 25 void PreProfileInit() override;
25 26
26 private: 27 private:
27 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainExtraPartsViewsLinux); 28 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainExtraPartsViewsLinux);
28 }; 29 };
29 30
30 #endif // CHROME_BROWSER_UI_VIEWS_CHROME_BROWSER_MAIN_EXTRA_PARTS_VIEWS_LINUX_H _ 31 #endif // CHROME_BROWSER_UI_VIEWS_CHROME_BROWSER_MAIN_EXTRA_PARTS_VIEWS_LINUX_H _
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698