Index: chrome/browser/ui/window_snapshot/window_snapshot.h |
diff --git a/chrome/browser/ui/window_snapshot/window_snapshot.h b/chrome/browser/ui/window_snapshot/window_snapshot.h |
index f4f6f893c65e0dba69f7bf01eaaea9e9f815f3a5..3259983cfcdd270b70c5e1404313ca6cf707c34f 100644 |
--- a/chrome/browser/ui/window_snapshot/window_snapshot.h |
+++ b/chrome/browser/ui/window_snapshot/window_snapshot.h |
@@ -25,25 +25,13 @@ void RegisterScreenshotPrefs(PrefService* service); |
// the primary monitor. This takes into account calling user context (ie. checks |
// policy settings if taking screenshots is allowed), and is intended to be used |
// by browser code. If you need to take a screenshot for debugging purposes, |
-// consider using GrabWindowSnapshot. |
+// consider using ui::GrabWindowSnapshot. |
// Returns true if the operation is successful (ie. permitted). |
bool GrabWindowSnapshotForUser( |
gfx::NativeWindow window, |
std::vector<unsigned char>* png_representation, |
const gfx::Rect& snapshot_bounds); |
-namespace internal { |
- |
-// Like GrabWindowSnapshotForUser, but does not perform additional security |
-// checks - just grabs a snapshot. This is intended to be used for debugging |
-// purposes where no BrowserProcess instance is available (ie. tests). |
-// DO NOT use in a result of user action. |
-bool GrabWindowSnapshot( |
- gfx::NativeWindow window, |
- std::vector<unsigned char>* png_representation, |
- const gfx::Rect& snapshot_bounds); |
- |
-} // namespace internal |
} // namespace chrome |
#endif // CHROME_BROWSER_UI_WINDOW_SNAPSHOT_WINDOW_SNAPSHOT_H_ |