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

Side by Side Diff: chrome/browser/sessions/in_memory_tab_restore_service.cc

Issue 1319473014: Introduce TabRestoreServiceClient and //chrome implementation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Response to review Created 5 years, 3 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/sessions/in_memory_tab_restore_service.h" 5 #include "chrome/browser/sessions/in_memory_tab_restore_service.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "chrome/browser/profiles/profile.h" 10 #include "chrome/browser/profiles/profile.h"
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 // See comment above. 81 // See comment above.
82 return true; 82 return true;
83 } 83 }
84 84
85 void InMemoryTabRestoreService::DeleteLastSession() { 85 void InMemoryTabRestoreService::DeleteLastSession() {
86 // See comment above. 86 // See comment above.
87 } 87 }
88 88
89 void InMemoryTabRestoreService::Shutdown() { 89 void InMemoryTabRestoreService::Shutdown() {
90 } 90 }
91
92 KeyedService* TabRestoreServiceFactory::BuildServiceInstanceFor(
93 content::BrowserContext* profile) const {
94 return new InMemoryTabRestoreService(static_cast<Profile*>(profile), NULL);
95 }
OLDNEW
« no previous file with comments | « chrome/browser/sessions/chrome_tab_restore_service_client.cc ('k') | chrome/browser/sessions/persistent_tab_restore_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698