diff --git a/atom.gyp b/atom.gyp index 91375d539..3719bf47a 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 cd665a952..9ed258662 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 d3f9964fb..2476dd78e 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 b01d0886a..a2c8f7617 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 036020e24..989e5e8ed 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_