chore: remove pre network service classes from shell/browser/net (#19644)

* refactor: rm IOThread class

* chore: rm expose-net-observer-api.patch

* chore: rm unused shell/browser/net/ classes

* chore: mv CertVerifierClient to separate header

* chore: rm url_request_context_getter references
This commit is contained in:
Robo 2019-08-07 08:04:09 -07:00 committed by John Kleinschmidt
parent 9c7a216814
commit eebea63bed
31 changed files with 137 additions and 2196 deletions

View file

@ -20,7 +20,6 @@
#include "components/prefs/value_map_pref_store.h"
#include "printing/buildflags/buildflags.h"
#include "services/network/public/cpp/shared_url_loader_factory.h"
#include "shell/browser/io_thread.h"
#include "shell/browser/net/system_network_context_manager.h"
namespace printing {
@ -41,7 +40,7 @@ class BrowserProcessImpl : public BrowserProcess {
void PostEarlyInitialization();
void PreCreateThreads();
void PostDestroyThreads();
void PostDestroyThreads() {}
void PostMainMessageLoopRun();
void EndSession() override {}
@ -106,14 +105,11 @@ class BrowserProcessImpl : public BrowserProcess {
printing::PrintJobManager* print_job_manager() override;
StartupData* startup_data() override;
IOThread* io_thread() const { return io_thread_.get(); }
private:
#if BUILDFLAG(ENABLE_PRINTING)
std::unique_ptr<printing::PrintJobManager> print_job_manager_;
#endif
std::unique_ptr<PrefService> local_state_;
std::unique_ptr<IOThread> io_thread_;
std::string locale_;
DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl);