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

Unified Diff: chrome/chrome_browser.gypi

Issue 9985002: Allow SessionService to be disabled. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: addressed sky's comments Created 8 years, 9 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 | « chrome/browser/sessions/tab_restore_service.cc ('k') | chrome/chrome_tests.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/chrome_browser.gypi
diff --git a/chrome/chrome_browser.gypi b/chrome/chrome_browser.gypi
index d263238504cc9b29a470bbe35992c0f50c06af80..76096be58e0300f6db24c4a7d17bd36ac457a1f2 100644
--- a/chrome/chrome_browser.gypi
+++ b/chrome/chrome_browser.gypi
@@ -4484,6 +4484,15 @@
['exclude', '^browser/automation/'],
],
}],
+ ['enable_session_service!=1', {
+ 'sources!': [
+ 'browser/sessions/session_restore.cc',
+ 'browser/sessions/session_service.cc',
+ 'browser/sessions/session_service.h',
+ 'browser/sessions/session_service_factory.cc',
+ 'browser/sessions/session_service_factory.h',
+ ],
+ }],
['OS=="android"', {
'sources': [
'browser/sync/glue/synced_window_delegate_registry.cc',
@@ -4517,9 +4526,6 @@
'browser/ui/browser_tab_restore_service_delegate.cc',
'browser/ui/sync/browser_synced_window_delegate.cc',
- # Custom implementation of session_restore for Android.
- 'browser/sessions/session_restore.cc',
-
'browser/ui/sad_tab_helper.cc',
'browser/ui/webui/certificate_viewer_webui.cc',
'browser/ui/window_sizer.cc',
« no previous file with comments | « chrome/browser/sessions/tab_restore_service.cc ('k') | chrome/chrome_tests.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698