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

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

Issue 6028009: Move base/thread.h to base/threading, fix up callers to use the new location.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 11 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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/base_session_service.h" 5 #include "chrome/browser/sessions/base_session_service.h"
6 6
7 #include "base/pickle.h" 7 #include "base/pickle.h"
8 #include "base/stl_util-inl.h" 8 #include "base/stl_util-inl.h"
9 #include "base/thread.h" 9 #include "base/threading/thread.h"
10 #include "chrome/browser/browser_process.h" 10 #include "chrome/browser/browser_process.h"
11 #include "chrome/browser/profiles/profile.h" 11 #include "chrome/browser/profiles/profile.h"
12 #include "chrome/browser/sessions/session_backend.h" 12 #include "chrome/browser/sessions/session_backend.h"
13 #include "chrome/browser/sessions/session_types.h" 13 #include "chrome/browser/sessions/session_types.h"
14 #include "chrome/browser/tab_contents/navigation_entry.h" 14 #include "chrome/browser/tab_contents/navigation_entry.h"
15 #include "webkit/glue/webkit_glue.h" 15 #include "webkit/glue/webkit_glue.h"
16 16
17 // InternalGetCommandsRequest ------------------------------------------------- 17 // InternalGetCommandsRequest -------------------------------------------------
18 18
19 BaseSessionService::InternalGetCommandsRequest::~InternalGetCommandsRequest() { 19 BaseSessionService::InternalGetCommandsRequest::~InternalGetCommandsRequest() {
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after
277 if (backend_thread()) { 277 if (backend_thread()) {
278 backend_thread()->message_loop()->PostTask(FROM_HERE, 278 backend_thread()->message_loop()->PostTask(FROM_HERE,
279 NewRunnableMethod(backend(), 279 NewRunnableMethod(backend(),
280 &SessionBackend::ReadCurrentSessionCommands, 280 &SessionBackend::ReadCurrentSessionCommands,
281 request_wrapper)); 281 request_wrapper));
282 } else { 282 } else {
283 backend()->ReadCurrentSessionCommands(request); 283 backend()->ReadCurrentSessionCommands(request);
284 } 284 }
285 return request->handle(); 285 return request->handle();
286 } 286 }
OLDNEW
« no previous file with comments | « chrome/browser/service/service_process_control.cc ('k') | chrome/browser/sessions/session_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698