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

Side by Side Diff: chrome/browser/ui/ash/chrome_screenshot_grabber.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_ASH_CHROME_SCREENSHOT_GRABBER_H_ 5 #ifndef CHROME_BROWSER_UI_ASH_CHROME_SCREENSHOT_GRABBER_H_
6 #define CHROME_BROWSER_UI_ASH_CHROME_SCREENSHOT_GRABBER_H_ 6 #define CHROME_BROWSER_UI_ASH_CHROME_SCREENSHOT_GRABBER_H_
7 7
8 #include "ash/screenshot_delegate.h" 8 #include "ash/screenshot_delegate.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "build/build_config.h" 10 #include "build/build_config.h"
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 51
52 #if defined(OS_CHROMEOS) 52 #if defined(OS_CHROMEOS)
53 Notification* CreateNotification( 53 Notification* CreateNotification(
54 ui::ScreenshotGrabberObserver::Result screenshot_result, 54 ui::ScreenshotGrabberObserver::Result screenshot_result,
55 const base::FilePath& screenshot_path); 55 const base::FilePath& screenshot_path);
56 #endif 56 #endif
57 57
58 void SetProfileForTest(Profile* profile); 58 void SetProfileForTest(Profile* profile);
59 Profile* GetProfile(); 59 Profile* GetProfile();
60 60
61 scoped_ptr<ui::ScreenshotGrabber> screenshot_grabber_; 61 std::unique_ptr<ui::ScreenshotGrabber> screenshot_grabber_;
62 Profile* profile_for_test_; 62 Profile* profile_for_test_;
63 63
64 DISALLOW_COPY_AND_ASSIGN(ChromeScreenshotGrabber); 64 DISALLOW_COPY_AND_ASSIGN(ChromeScreenshotGrabber);
65 }; 65 };
66 66
67 #endif // CHROME_BROWSER_UI_ASH_CHROME_SCREENSHOT_GRABBER_H_ 67 #endif // CHROME_BROWSER_UI_ASH_CHROME_SCREENSHOT_GRABBER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/ash/chrome_new_window_delegate.h ('k') | chrome/browser/ui/ash/chrome_screenshot_grabber.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698