From 7df256f8dc38e0686993e0838b503ed765c885f0 Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Fri, 30 Aug 2013 16:10:36 +0800 Subject: [PATCH] Move atom_url_request_job_factory to browser/net. --- atom.gyp | 4 ++-- browser/api/atom_api_protocol.cc | 2 +- browser/atom_browser_client.cc | 2 +- browser/{ => net}/atom_url_request_job_factory.cc | 2 +- browser/{ => net}/atom_url_request_job_factory.h | 6 +++--- 5 files changed, 8 insertions(+), 8 deletions(-) rename browser/{ => net}/atom_url_request_job_factory.cc (97%) rename browser/{ => net}/atom_url_request_job_factory.h (87%) diff --git a/atom.gyp b/atom.gyp index 91375d539498..3719bf47af7c 100644 --- a/atom.gyp +++ b/atom.gyp @@ -61,8 +61,6 @@ 'browser/api/atom_api_window.h', 'browser/api/atom_browser_bindings.cc', 'browser/api/atom_browser_bindings.h', - 'browser/atom_url_request_job_factory.cc', - 'browser/atom_url_request_job_factory.h', 'browser/auto_updater.cc', 'browser/auto_updater.h', 'browser/auto_updater_delegate.cc', @@ -99,6 +97,8 @@ 'browser/native_window_win.cc', 'browser/native_window_win.h', 'browser/native_window_observer.h', + 'browser/net/atom_url_request_job_factory.cc', + 'browser/net/atom_url_request_job_factory.h', 'browser/ui/accelerator_util.cc', 'browser/ui/accelerator_util.h', 'browser/ui/accelerator_util_mac.mm', diff --git a/browser/api/atom_api_protocol.cc b/browser/api/atom_api_protocol.cc index cd665a952d3e..9ed258662735 100644 --- a/browser/api/atom_api_protocol.cc +++ b/browser/api/atom_api_protocol.cc @@ -6,7 +6,7 @@ #include "base/memory/weak_ptr.h" #include "browser/atom_browser_context.h" -#include "browser/atom_url_request_job_factory.h" +#include "browser/net/atom_url_request_job_factory.h" #include "content/public/browser/browser_thread.h" #include "net/url_request/url_request_context.h" #include "net/url_request/url_request_context_getter.h" diff --git a/browser/atom_browser_client.cc b/browser/atom_browser_client.cc index d3f9964fba56..2476dd78e163 100644 --- a/browser/atom_browser_client.cc +++ b/browser/atom_browser_client.cc @@ -5,7 +5,7 @@ #include "browser/atom_browser_client.h" #include "browser/atom_browser_main_parts.h" -#include "browser/atom_url_request_job_factory.h" +#include "browser/net/atom_url_request_job_factory.h" #include "content/public/common/url_constants.h" #include "net/url_request/data_protocol_handler.h" #include "net/url_request/file_protocol_handler.h" diff --git a/browser/atom_url_request_job_factory.cc b/browser/net/atom_url_request_job_factory.cc similarity index 97% rename from browser/atom_url_request_job_factory.cc rename to browser/net/atom_url_request_job_factory.cc index b01d0886a0fe..a2c8f76170bf 100644 --- a/browser/atom_url_request_job_factory.cc +++ b/browser/net/atom_url_request_job_factory.cc @@ -3,7 +3,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include "browser/atom_url_request_job_factory.h" +#include "browser/net/atom_url_request_job_factory.h" #include "base/stl_util.h" #include "googleurl/src/gurl.h" diff --git a/browser/atom_url_request_job_factory.h b/browser/net/atom_url_request_job_factory.h similarity index 87% rename from browser/atom_url_request_job_factory.h rename to browser/net/atom_url_request_job_factory.h index 036020e24de7..989e5e8eda33 100644 --- a/browser/atom_url_request_job_factory.h +++ b/browser/net/atom_url_request_job_factory.h @@ -3,8 +3,8 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#ifndef ATOM_BROWSER_ATOM_URL_REQUEST_URL_REQUEST_JOB_FACTORY_H_ -#define ATOM_BROWSER_ATOM_URL_REQUEST_URL_REQUEST_JOB_FACTORY_H_ +#ifndef ATOM_BROWSER_NET_ATOM_URL_REQUEST_URL_REQUEST_JOB_FACTORY_H_ +#define ATOM_BROWSER_NET_ATOM_URL_REQUEST_URL_REQUEST_JOB_FACTORY_H_ #include #include @@ -44,4 +44,4 @@ class AtomURLRequestJobFactory : public net::URLRequestJobFactory { } // namespace atom -#endif // ATOM_BROWSER_ATOM_URL_REQUEST_URL_REQUEST_JOB_FACTORY_H_ +#endif // ATOM_BROWSER_NET_ATOM_URL_REQUEST_URL_REQUEST_JOB_FACTORY_H_