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

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

Issue 1280463003: Revert of Straightens outs DEPS in mojo/common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 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 | « mojo/services/network/http_connection_impl.cc ('k') | mojo/services/network/public/DEPS » ('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 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 "base/at_exit.h" 7 #include "base/at_exit.h"
8 #include "base/base_paths.h" 8 #include "base/base_paths.h"
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/command_line.h" 10 #include "base/command_line.h"
11 #include "base/files/file_path.h" 11 #include "base/files/file_path.h"
12 #include "base/message_loop/message_loop.h" 12 #include "base/message_loop/message_loop.h"
13 #include "base/path_service.h" 13 #include "base/path_service.h"
14 #include "mojo/application/public/cpp/application_connection.h" 14 #include "mojo/application/public/cpp/application_connection.h"
15 #include "mojo/message_pump/message_pump_mojo.h" 15 #include "mojo/common/message_pump_mojo.h"
16 #include "mojo/services/network/network_service_delegate_observer.h" 16 #include "mojo/services/network/network_service_delegate_observer.h"
17 #include "mojo/services/network/network_service_impl.h" 17 #include "mojo/services/network/network_service_impl.h"
18 #include "mojo/services/network/url_loader_factory_impl.h" 18 #include "mojo/services/network/url_loader_factory_impl.h"
19 #include "mojo/util/capture_util.h" 19 #include "mojo/util/capture_util.h"
20 #include "sql/mojo/mojo_vfs.h" 20 #include "sql/mojo/mojo_vfs.h"
21 21
22 namespace { 22 namespace {
23 23
24 const char kSQLThreadName[] = "SQL_IO_Thread"; 24 const char kSQLThreadName[] = "SQL_IO_Thread";
25 const char kUserDataDir[] = "user-data-dir"; 25 const char kUserDataDir[] = "user-data-dir";
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 FOR_EACH_OBSERVER(NetworkServiceDelegateObserver, observers_, 183 FOR_EACH_OBSERVER(NetworkServiceDelegateObserver, observers_,
184 OnIOWorkerThreadShutdown()); 184 OnIOWorkerThreadShutdown());
185 185
186 // Destroy the io worker thread here so that we can commit any pending 186 // Destroy the io worker thread here so that we can commit any pending
187 // cookies here. 187 // cookies here.
188 io_worker_thread_.reset(); 188 io_worker_thread_.reset();
189 } 189 }
190 } 190 }
191 191
192 } // namespace mojo 192 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/services/network/http_connection_impl.cc ('k') | mojo/services/network/public/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698