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

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

Issue 8437002: Move BrowserThread to content namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: A few updates. Created 9 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 | Annotate | Revision Log
« no previous file with comments | « content/public/browser/browser_thread.h ('k') | tools/valgrind/tsan/suppressions.txt » ('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 (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/file_util.h" 7 #include "base/file_util.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "base/path_service.h" 9 #include "base/path_service.h"
10 #include "content/browser/appcache/chrome_appcache_service.h" 10 #include "content/browser/appcache/chrome_appcache_service.h"
(...skipping 12 matching lines...) Expand all
23 #include "content/shell/shell_download_manager_delegate.h" 23 #include "content/shell/shell_download_manager_delegate.h"
24 #include "content/shell/shell_resource_context.h" 24 #include "content/shell/shell_resource_context.h"
25 #include "content/shell/shell_url_request_context_getter.h" 25 #include "content/shell/shell_url_request_context_getter.h"
26 #include "webkit/database/database_tracker.h" 26 #include "webkit/database/database_tracker.h"
27 #include "webkit/quota/quota_manager.h" 27 #include "webkit/quota/quota_manager.h"
28 28
29 #if defined(OS_WIN) 29 #if defined(OS_WIN)
30 #include "base/base_paths_win.h" 30 #include "base/base_paths_win.h"
31 #endif 31 #endif
32 32
33 using content::BrowserThread;
34
33 namespace { 35 namespace {
34 36
35 class ShellGeolocationPermissionContext : public GeolocationPermissionContext { 37 class ShellGeolocationPermissionContext : public GeolocationPermissionContext {
36 public: 38 public:
37 ShellGeolocationPermissionContext() { 39 ShellGeolocationPermissionContext() {
38 } 40 }
39 41
40 // GeolocationPermissionContext implementation). 42 // GeolocationPermissionContext implementation).
41 virtual void RequestGeolocationPermission( 43 virtual void RequestGeolocationPermission(
42 int render_process_id, 44 int render_process_id,
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after
251 NewRunnableMethod( 253 NewRunnableMethod(
252 appcache_service_.get(), 254 appcache_service_.get(),
253 &ChromeAppCacheService::InitializeOnIOThread, 255 &ChromeAppCacheService::InitializeOnIOThread,
254 IsOffTheRecord() 256 IsOffTheRecord()
255 ? FilePath() : GetPath().Append(FILE_PATH_LITERAL("AppCache")), 257 ? FilePath() : GetPath().Append(FILE_PATH_LITERAL("AppCache")),
256 &GetResourceContext(), 258 &GetResourceContext(),
257 special_storage_policy)); 259 special_storage_policy));
258 } 260 }
259 261
260 } // namespace content 262 } // namespace content
OLDNEW
« no previous file with comments | « content/public/browser/browser_thread.h ('k') | tools/valgrind/tsan/suppressions.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698