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

Side by Side Diff: content/shell/shell_browser_context.cc

Issue 10910209: Add new PathService paths for Windows' All Users Desktop and Quick Launch folders. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix mac compile Created 8 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 | Annotate | Revision Log
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 "content/shell/shell_browser_context.h" 5 #include "content/shell/shell_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/environment.h" 9 #include "base/environment.h"
10 #include "base/file_util.h" 10 #include "base/file_util.h"
11 #include "base/logging.h" 11 #include "base/logging.h"
12 #include "base/path_service.h" 12 #include "base/path_service.h"
13 #include "base/threading/thread.h" 13 #include "base/threading/thread.h"
14 #include "content/public/browser/browser_thread.h" 14 #include "content/public/browser/browser_thread.h"
15 #include "content/shell/shell_download_manager_delegate.h" 15 #include "content/shell/shell_download_manager_delegate.h"
16 #include "content/shell/shell_resource_context.h" 16 #include "content/shell/shell_resource_context.h"
17 #include "content/shell/shell_switches.h" 17 #include "content/shell/shell_switches.h"
18 #include "content/shell/shell_url_request_context_getter.h" 18 #include "content/shell/shell_url_request_context_getter.h"
19 19
20 #if defined(OS_WIN) 20 #if defined(OS_WIN)
21 #include "base/base_paths_win.h" 21 #include "base/base_paths_win.h"
22 #elif defined(OS_LINUX) 22 #elif defined(OS_LINUX)
23 #include "base/nix/xdg_util.h" 23 #include "base/nix/xdg_util.h"
24 #elif defined(OS_MACOSX) 24 #elif defined(OS_MACOSX)
25 #include "base/base_paths_mac.h" 25 #include "base/base_paths_mac.h"
26 #elif defined(OS_ANDROID)
27 #include "base/base_paths_android.h"
26 #endif 28 #endif
27 29
28 namespace content { 30 namespace content {
29 31
30 ShellBrowserContext::ShellBrowserContext(bool off_the_record) 32 ShellBrowserContext::ShellBrowserContext(bool off_the_record)
31 : off_the_record_(off_the_record), 33 : off_the_record_(off_the_record),
32 ignore_certificate_errors_(false) { 34 ignore_certificate_errors_(false) {
33 InitWhileIOAllowed(); 35 InitWhileIOAllowed();
34 } 36 }
35 37
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 146
145 bool ShellBrowserContext::DidLastSessionExitCleanly() { 147 bool ShellBrowserContext::DidLastSessionExitCleanly() {
146 return true; 148 return true;
147 } 149 }
148 150
149 quota::SpecialStoragePolicy* ShellBrowserContext::GetSpecialStoragePolicy() { 151 quota::SpecialStoragePolicy* ShellBrowserContext::GetSpecialStoragePolicy() {
150 return NULL; 152 return NULL;
151 } 153 }
152 154
153 } // namespace content 155 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698