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

Side by Side Diff: content/shell/browser/layout_test/layout_test_browser_context.cc

Issue 689563002: Cleanup: Remove unneeded path_service.h includes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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
« no previous file with comments | « content/shell/app/shell_main_delegate_mac.mm ('k') | content/shell/browser/shell.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "content/shell/browser/layout_test/layout_test_browser_context.h" 5 #include "content/shell/browser/layout_test/layout_test_browser_context.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "base/files/file_util.h" 9 #include "base/files/file_util.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
11 #include "base/path_service.h"
12 #include "content/public/browser/browser_thread.h" 11 #include "content/public/browser/browser_thread.h"
13 #include "content/public/browser/resource_context.h" 12 #include "content/public/browser/resource_context.h"
14 #include "content/shell/browser/layout_test/layout_test_download_manager_delegat e.h" 13 #include "content/shell/browser/layout_test/layout_test_download_manager_delegat e.h"
15 #include "content/shell/browser/layout_test/layout_test_url_request_context_gett er.h" 14 #include "content/shell/browser/layout_test/layout_test_url_request_context_gett er.h"
16 #include "content/shell/browser/shell_url_request_context_getter.h" 15 #include "content/shell/browser/shell_url_request_context_getter.h"
17 16
18 #if defined(OS_WIN) 17 #if defined(OS_WIN)
19 #include "base/base_paths_win.h" 18 #include "base/base_paths_win.h"
20 #elif defined(OS_LINUX) 19 #elif defined(OS_LINUX)
21 #include "base/nix/xdg_util.h" 20 #include "base/nix/xdg_util.h"
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 download_manager_delegate_->SetDownloadManager( 54 download_manager_delegate_->SetDownloadManager(
56 BrowserContext::GetDownloadManager(this)); 55 BrowserContext::GetDownloadManager(this));
57 download_manager_delegate_->SetDownloadBehaviorForTesting( 56 download_manager_delegate_->SetDownloadBehaviorForTesting(
58 GetPath().Append(FILE_PATH_LITERAL("downloads"))); 57 GetPath().Append(FILE_PATH_LITERAL("downloads")));
59 } 58 }
60 59
61 return download_manager_delegate_.get(); 60 return download_manager_delegate_.get();
62 } 61 }
63 62
64 } // namespace content 63 } // namespace content
OLDNEW
« no previous file with comments | « content/shell/app/shell_main_delegate_mac.mm ('k') | content/shell/browser/shell.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698