From: Cheng Zhao Date: Tue, 14 Jul 2015 16:59:09 +0000 (-0700) Subject: Merge pull request #2197 from deepak1556/user_agent_patch X-Git-Tag: v0.30.0~15 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=3ffd774405f52225f8bc53a69ff3d67f936a1216;p=electron.git Merge pull request #2197 from deepak1556/user_agent_patch webContents: set http useragent settings when overriding user agent --- 3ffd774405f52225f8bc53a69ff3d67f936a1216 diff --cc atom/browser/native_window.cc index 26cb3985,b9e76531..2a093cc8 --- a/atom/browser/native_window.cc +++ b/atom/browser/native_window.cc @@@ -8,17 -8,10 +8,14 @@@ #include #include +#if defined(OS_WIN) +#include +#endif + #include "atom/browser/atom_browser_context.h" #include "atom/browser/atom_browser_main_parts.h" - #include "atom/browser/browser.h" #include "atom/browser/window_list.h" #include "atom/common/api/api_messages.h" - #include "atom/common/atom_version.h" - #include "atom/common/chrome_version.h" #include "atom/common/native_mate_converters/image_converter.h" #include "atom/common/native_mate_converters/file_path_converter.h" #include "atom/common/options_switches.h"