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

Unified Diff: chrome/browser/sessions/base_session_service.h

Issue 500143002: Fixes possible use after free in SessionService (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: tweak Created 6 years, 4 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 | « no previous file | chrome/browser/sessions/base_session_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sessions/base_session_service.h
diff --git a/chrome/browser/sessions/base_session_service.h b/chrome/browser/sessions/base_session_service.h
index e85799a66e6b2ab7cbccca2d7589294169b8889f..6d259f0d46dce2c95f63aeda1d5eb9e57f6a05d1 100644
--- a/chrome/browser/sessions/base_session_service.h
+++ b/chrome/browser/sessions/base_session_service.h
@@ -156,7 +156,7 @@ class BaseSessionService {
// This posts the task to the SequencedWorkerPool, or run immediately
// if the SequencedWorkerPool has been shutdown.
- bool RunTaskOnBackendThread(const tracked_objects::Location& from_here,
+ void RunTaskOnBackendThread(const tracked_objects::Location& from_here,
const base::Closure& task);
// Max number of navigation entries in each direction we'll persist.
@@ -164,6 +164,7 @@ class BaseSessionService {
private:
friend class BetterSessionRestoreCrashTest;
+ friend class SessionServiceTestHelper;
marja 2014/08/26 14:48:09 Afaics this is not needed.
// The profile. This may be null during testing.
Profile* profile_;
« no previous file with comments | « no previous file | chrome/browser/sessions/base_session_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698