Index: chrome/browser/ui/ash/screenshot_taker.h |
diff --git a/chrome/browser/ui/ash/screenshot_taker.h b/chrome/browser/ui/ash/screenshot_taker.h |
index 091823e1a67237498ff67ce57d5e9b1881f84a69..81f03a58ad5d7a695d167c3483307fa9bb7a49eb 100644 |
--- a/chrome/browser/ui/ash/screenshot_taker.h |
+++ b/chrome/browser/ui/ash/screenshot_taker.h |
@@ -49,7 +49,7 @@ class ScreenshotTakerObserver { |
class ScreenshotTaker : public ash::ScreenshotDelegate { |
public: |
- explicit ScreenshotTaker(Profile* profile); |
+ ScreenshotTaker(); |
virtual ~ScreenshotTaker(); |
@@ -70,19 +70,23 @@ class ScreenshotTaker : public ash::ScreenshotDelegate { |
private: |
friend class ash::test::ScreenshotTakerTest; |
+ Profile* GetProfile(); |
void SetScreenshotDirectoryForTest(const base::FilePath& directory); |
void SetScreenshotBasenameForTest(const std::string& basename); |
- |
- Profile* profile_; |
+ void SetScreenshotProfileForTest(Profile* profile); |
base::WeakPtrFactory<ScreenshotTaker> factory_; |
// The timestamp when the screenshot task was issued last time. |
base::Time last_screenshot_timestamp_; |
+ std::string notification_id_; |
+ |
ObserverList<ScreenshotTakerObserver> observers_; |
+ |
base::FilePath screenshot_directory_for_test_; |
std::string screenshot_basename_for_test_; |
+ Profile* profile_for_test_; |
DISALLOW_COPY_AND_ASSIGN(ScreenshotTaker); |
}; |