| OLD | NEW |
| 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 Loading... |
| 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_ |
| OLD | NEW |