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

Side by Side Diff: mojo/services/network/network_service_delegate.cc

Issue 1565343003: Move mojo/application/public -> mojo/shell/public (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@fetcher
Patch Set: . Created 4 years, 11 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "mojo/services/network/network_service_delegate.h" 5 #include "mojo/services/network/network_service_delegate.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/at_exit.h" 9 #include "base/at_exit.h"
10 #include "base/base_paths.h" 10 #include "base/base_paths.h"
11 #include "base/bind.h" 11 #include "base/bind.h"
12 #include "base/command_line.h" 12 #include "base/command_line.h"
13 #include "base/files/file_path.h" 13 #include "base/files/file_path.h"
14 #include "base/macros.h" 14 #include "base/macros.h"
15 #include "base/message_loop/message_loop.h" 15 #include "base/message_loop/message_loop.h"
16 #include "base/path_service.h" 16 #include "base/path_service.h"
17 #include "mojo/application/public/cpp/application_connection.h"
18 #include "mojo/message_pump/message_pump_mojo.h" 17 #include "mojo/message_pump/message_pump_mojo.h"
19 #include "mojo/services/network/cookie_store_impl.h" 18 #include "mojo/services/network/cookie_store_impl.h"
20 #include "mojo/services/network/network_service_delegate_observer.h" 19 #include "mojo/services/network/network_service_delegate_observer.h"
21 #include "mojo/services/network/network_service_impl.h" 20 #include "mojo/services/network/network_service_impl.h"
22 #include "mojo/services/network/url_loader_factory_impl.h" 21 #include "mojo/services/network/url_loader_factory_impl.h"
23 #include "mojo/services/network/web_socket_factory_impl.h" 22 #include "mojo/services/network/web_socket_factory_impl.h"
23 #include "mojo/shell/public/cpp/application_connection.h"
24 #include "mojo/util/capture_util.h" 24 #include "mojo/util/capture_util.h"
25 #include "sql/mojo/mojo_vfs.h" 25 #include "sql/mojo/mojo_vfs.h"
26 26
27 namespace { 27 namespace {
28 28
29 const char kSQLThreadName[] = "SQL_IO_Thread"; 29 const char kSQLThreadName[] = "SQL_IO_Thread";
30 const char kUserDataDir[] = "user-data-dir"; 30 const char kUserDataDir[] = "user-data-dir";
31 31
32 // SQL blocks on the filesystem service, so perform all SQL functions on a 32 // SQL blocks on the filesystem service, so perform all SQL functions on a
33 // separate thread. 33 // separate thread.
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 FOR_EACH_OBSERVER(NetworkServiceDelegateObserver, observers_, 198 FOR_EACH_OBSERVER(NetworkServiceDelegateObserver, observers_,
199 OnIOWorkerThreadShutdown()); 199 OnIOWorkerThreadShutdown());
200 200
201 // Destroy the io worker thread here so that we can commit any pending 201 // Destroy the io worker thread here so that we can commit any pending
202 // cookies here. 202 // cookies here.
203 io_worker_thread_.reset(); 203 io_worker_thread_.reset();
204 } 204 }
205 } 205 }
206 206
207 } // namespace mojo 207 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/services/network/network_service_delegate.h ('k') | mojo/services/network/network_service_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698