| Index: chrome/browser/ui/ash/screenshot_taker.cc
|
| ===================================================================
|
| --- chrome/browser/ui/ash/screenshot_taker.cc (revision 266217)
|
| +++ chrome/browser/ui/ash/screenshot_taker.cc (working copy)
|
| @@ -8,6 +8,7 @@
|
| #include <string>
|
|
|
| #include "ash/shell.h"
|
| +#include "ash/shell_delegate.h"
|
| #include "ash/system/system_notifier.h"
|
| #include "base/base64.h"
|
| #include "base/bind.h"
|
| @@ -40,11 +41,6 @@
|
| #include "ui/gfx/image/image.h"
|
| #include "ui/snapshot/snapshot.h"
|
|
|
| -#if defined(USE_ASH)
|
| -#include "ash/shell.h"
|
| -#include "ash/shell_delegate.h"
|
| -#endif
|
| -
|
| #if defined(OS_CHROMEOS)
|
| #include "chrome/browser/chromeos/drive/file_system_interface.h"
|
| #include "chrome/browser/chromeos/drive/file_system_util.h"
|
| @@ -471,6 +467,7 @@
|
| kScreenshotMinimumIntervalInMS);
|
| }
|
|
|
| +#if defined(OS_CHROMEOS)
|
| Notification* ScreenshotTaker::CreateNotification(
|
| ScreenshotTakerObserver::Result screenshot_result,
|
| const base::FilePath& screenshot_path) {
|
| @@ -506,6 +503,7 @@
|
| new ScreenshotTakerNotificationDelegate(
|
| success, GetProfile(), screenshot_path));
|
| }
|
| +#endif
|
|
|
| void ScreenshotTaker::ShowNotification(
|
| ScreenshotTakerObserver::Result screenshot_result,
|
|
|