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

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

Issue 10443056: Fix: service processes started before chrome prevented session restore from working. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 7 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 3a35b77b8c906bcb310b4fb4e565c05513c2e87c..76b5b9d5c1b018beb32618c6220a34a17aa7586e 100644
--- a/chrome/browser/sessions/base_session_service.h
+++ b/chrome/browser/sessions/base_session_service.h
@@ -182,6 +182,10 @@ class BaseSessionService : public CancelableRequestProvider,
bool RunTaskOnBackendThread(const tracked_objects::Location& from_here,
const base::Closure& task);
+ // Returns true if we appear to be running in production, false if we appear
+ // to be running as part of a unit test or if the FILE thread has gone away.
+ bool RunningInProduction() const;
+
// Max number of navigation entries in each direction we'll persist.
static const int max_persist_navigation_count;
« 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