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

Unified Diff: chrome/browser/ui/ash/screenshot_taker.cc

Issue 256893002: Cleanup: Remove unused resources in ui_strings.grd or mark them as platform-specific. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/ash/screenshot_taker.h ('k') | ui/base/strings/ui_strings.grd » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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,
« no previous file with comments | « chrome/browser/ui/ash/screenshot_taker.h ('k') | ui/base/strings/ui_strings.grd » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698