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

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

Issue 1548133002: Switch to standard integer types in chrome/browser/, part 3 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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/chrome_tab_restore_service_client.h" 5 #include "chrome/browser/sessions/chrome_tab_restore_service_client.h"
6 6
7 #include "build/build_config.h"
7 #include "chrome/browser/profiles/profile.h" 8 #include "chrome/browser/profiles/profile.h"
8 #include "chrome/browser/sessions/session_service.h" 9 #include "chrome/browser/sessions/session_service.h"
9 #include "chrome/browser/sessions/session_service_factory.h" 10 #include "chrome/browser/sessions/session_service_factory.h"
10 #include "chrome/common/url_constants.h" 11 #include "chrome/common/url_constants.h"
11 #include "components/sessions/content/content_live_tab.h" 12 #include "components/sessions/content/content_live_tab.h"
12 #include "content/public/browser/browser_thread.h" 13 #include "content/public/browser/browser_thread.h"
13 14
14 #if defined(ENABLE_EXTENSIONS) 15 #if defined(ENABLE_EXTENSIONS)
15 #include "chrome/browser/extensions/tab_helper.h" 16 #include "chrome/browser/extensions/tab_helper.h"
16 #include "chrome/common/extensions/extension_constants.h" 17 #include "chrome/common/extensions/extension_constants.h"
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 DCHECK(HasLastSession()); 149 DCHECK(HasLastSession());
149 #if defined(ENABLE_SESSION_SERVICE) 150 #if defined(ENABLE_SESSION_SERVICE)
150 SessionServiceFactory::GetForProfile(profile_) 151 SessionServiceFactory::GetForProfile(profile_)
151 ->GetLastSession(callback, tracker); 152 ->GetLastSession(callback, tracker);
152 #endif 153 #endif
153 } 154 }
154 155
155 void ChromeTabRestoreServiceClient::OnTabRestored(const GURL& url) { 156 void ChromeTabRestoreServiceClient::OnTabRestored(const GURL& url) {
156 RecordAppLaunch(profile_, url); 157 RecordAppLaunch(profile_, url);
157 } 158 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698