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

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

Issue 689553002: Cleanup: Remove unneeded path_service.h includes in base and chrome. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix win Created 6 years, 1 month 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 "base/bind.h" 5 #include "base/bind.h"
6 #include "base/bind_helpers.h" 6 #include "base/bind_helpers.h"
7 #include "base/files/file_util.h" 7 #include "base/files/file_util.h"
8 #include "base/files/scoped_temp_dir.h" 8 #include "base/files/scoped_temp_dir.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/memory/scoped_vector.h" 10 #include "base/memory/scoped_vector.h"
11 #include "base/path_service.h"
12 #include "base/run_loop.h" 11 #include "base/run_loop.h"
13 #include "base/stl_util.h" 12 #include "base/stl_util.h"
14 #include "base/strings/string_number_conversions.h" 13 #include "base/strings/string_number_conversions.h"
15 #include "base/strings/utf_string_conversions.h" 14 #include "base/strings/utf_string_conversions.h"
16 #include "base/synchronization/waitable_event.h" 15 #include "base/synchronization/waitable_event.h"
17 #include "base/time/time.h" 16 #include "base/time/time.h"
18 #include "chrome/browser/browser_process.h" 17 #include "chrome/browser/browser_process.h"
19 #include "chrome/browser/chrome_notification_types.h" 18 #include "chrome/browser/chrome_notification_types.h"
20 #include "chrome/browser/defaults.h" 19 #include "chrome/browser/defaults.h"
21 #include "chrome/browser/profiles/profile_manager.h" 20 #include "chrome/browser/profiles/profile_manager.h"
(...skipping 995 matching lines...) Expand 10 before | Expand all | Expand 10 after
1017 &cancelable_task_tracker); 1016 &cancelable_task_tracker);
1018 helper_.RunTaskOnBackendThread( 1017 helper_.RunTaskOnBackendThread(
1019 FROM_HERE, 1018 FROM_HERE,
1020 base::Bind(&PostBackToThread, 1019 base::Bind(&PostBackToThread,
1021 base::Unretained(base::MessageLoop::current()), 1020 base::Unretained(base::MessageLoop::current()),
1022 base::Unretained(&run_loop))); 1021 base::Unretained(&run_loop)));
1023 delete helper_.ReleaseService(); 1022 delete helper_.ReleaseService();
1024 event.Signal(); 1023 event.Signal();
1025 run_loop.Run(); 1024 run_loop.Run();
1026 } 1025 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698