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

Side by Side Diff: content/browser/browser_context.cc

Issue 2339593002: Revert of Enforce capability spec renderer <--> browser (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
« no previous file with comments | « content/browser/BUILD.gn ('k') | content/browser/gpu/gpu_process_host.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 (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/public/browser/browser_context.h" 5 #include "content/public/browser/browser_context.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <stdint.h> 8 #include <stdint.h>
9 #include <algorithm> 9 #include <algorithm>
10 #include <limits> 10 #include <limits>
11 #include <memory> 11 #include <memory>
12 #include <utility> 12 #include <utility>
13 #include <vector> 13 #include <vector>
14 14
15 #include "base/command_line.h" 15 #include "base/command_line.h"
16 #include "base/guid.h" 16 #include "base/guid.h"
17 #include "base/lazy_instance.h" 17 #include "base/lazy_instance.h"
18 #include "base/macros.h" 18 #include "base/macros.h"
19 #include "base/rand_util.h" 19 #include "base/rand_util.h"
20 #include "base/threading/thread_task_runner_handle.h" 20 #include "base/threading/thread_task_runner_handle.h"
21 #include "build/build_config.h" 21 #include "build/build_config.h"
22 #include "content/browser/blob_storage/chrome_blob_storage_context.h" 22 #include "content/browser/blob_storage/chrome_blob_storage_context.h"
23 #include "content/browser/download/download_manager_impl.h" 23 #include "content/browser/download/download_manager_impl.h"
24 #include "content/browser/indexed_db/indexed_db_context_impl.h" 24 #include "content/browser/indexed_db/indexed_db_context_impl.h"
25 #include "content/browser/loader/resource_dispatcher_host_impl.h" 25 #include "content/browser/loader/resource_dispatcher_host_impl.h"
26 #include "content/browser/push_messaging/push_messaging_router.h" 26 #include "content/browser/push_messaging/push_messaging_router.h"
27 #include "content/browser/storage_partition_impl_map.h" 27 #include "content/browser/storage_partition_impl_map.h"
28 #include "content/common/child_process_host_impl.h" 28 #include "content/common/child_process_host_impl.h"
29 #include "content/common/mojo/constants.h"
29 #include "content/public/browser/blob_handle.h" 30 #include "content/public/browser/blob_handle.h"
30 #include "content/public/browser/browser_thread.h" 31 #include "content/public/browser/browser_thread.h"
31 #include "content/public/browser/content_browser_client.h" 32 #include "content/public/browser/content_browser_client.h"
32 #include "content/public/browser/site_instance.h" 33 #include "content/public/browser/site_instance.h"
33 #include "content/public/common/content_switches.h" 34 #include "content/public/common/content_switches.h"
34 #include "content/public/common/mojo_shell_connection.h" 35 #include "content/public/common/mojo_shell_connection.h"
35 #include "content/public/common/service_names.h"
36 #include "net/cookies/cookie_store.h" 36 #include "net/cookies/cookie_store.h"
37 #include "net/ssl/channel_id_service.h" 37 #include "net/ssl/channel_id_service.h"
38 #include "net/ssl/channel_id_store.h" 38 #include "net/ssl/channel_id_store.h"
39 #include "net/url_request/url_request_context.h" 39 #include "net/url_request/url_request_context.h"
40 #include "net/url_request/url_request_context_getter.h" 40 #include "net/url_request/url_request_context_getter.h"
41 #include "services/file/file_service.h" 41 #include "services/file/file_service.h"
42 #include "services/file/public/cpp/constants.h" 42 #include "services/file/public/cpp/constants.h"
43 #include "services/file/user_id_map.h" 43 #include "services/file/user_id_map.h"
44 #include "services/shell/public/cpp/connection.h" 44 #include "services/shell/public/cpp/connection.h"
45 #include "services/shell/public/cpp/connector.h" 45 #include "services/shell/public/cpp/connector.h"
(...skipping 453 matching lines...) Expand 10 before | Expand all | Expand 10 after
499 if (GetUserData(kDownloadManagerKeyName)) 499 if (GetUserData(kDownloadManagerKeyName))
500 GetDownloadManager(this)->Shutdown(); 500 GetDownloadManager(this)->Shutdown();
501 } 501 }
502 502
503 void BrowserContext::ShutdownStoragePartitions() { 503 void BrowserContext::ShutdownStoragePartitions() {
504 if (GetUserData(kStoragePartitionMapKeyName)) 504 if (GetUserData(kStoragePartitionMapKeyName))
505 RemoveUserData(kStoragePartitionMapKeyName); 505 RemoveUserData(kStoragePartitionMapKeyName);
506 } 506 }
507 507
508 } // namespace content 508 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/BUILD.gn ('k') | content/browser/gpu/gpu_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698