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

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

Issue 697953002: ObserverList::HasObserver now takes a const pointer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix compile errors (ChromeOS unit tests). Created 6 years, 1 month 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/sync/profile_sync_service_base.h ('k') | chrome/browser/ui/ash/screenshot_taker.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 fd46bbeec039270a70f1ab665af0b773dcbd3453..3903956364781737833876ad7aead14533603e0f 100644
--- a/chrome/browser/ui/ash/screenshot_taker.h
+++ b/chrome/browser/ui/ash/screenshot_taker.h
@@ -67,7 +67,7 @@ class ScreenshotTaker : public ash::ScreenshotDelegate {
void AddObserver(ScreenshotTakerObserver* observer);
void RemoveObserver(ScreenshotTakerObserver* observer);
- bool HasObserver(ScreenshotTakerObserver* observer) const;
+ bool HasObserver(const ScreenshotTakerObserver* observer) const;
private:
friend class ash::test::ScreenshotTakerTest;
« no previous file with comments | « chrome/browser/sync/profile_sync_service_base.h ('k') | chrome/browser/ui/ash/screenshot_taker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698