diff options
author | adamk@chromium.org <adamk@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-12 21:15:09 +0000 |
---|---|---|
committer | adamk@chromium.org <adamk@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-12 21:15:09 +0000 |
commit | 6eac57a601d0f2e88390609b5716c08eb5f19b73 (patch) | |
tree | 6038bcdc6309799c2c7375fd9a72dc79ff80dac4 /content/content_browser.gypi | |
parent | b32c028c0bbcd40cc74067968a0aebb4a52a3bd7 (diff) | |
download | chromium_src-6eac57a601d0f2e88390609b5716c08eb5f19b73.zip chromium_src-6eac57a601d0f2e88390609b5716c08eb5f19b73.tar.gz chromium_src-6eac57a601d0f2e88390609b5716c08eb5f19b73.tar.bz2 |
Convert ViewMsg_NetworkStateChanged from routed -> control,
minimizing the number of required IPCs (since the online state
is a per-WebKit singleton).
In doing so, I've disentangled online state management from TabContents:
it now resides off by itself in BrowserOnlineStateObserver, a tiny class
owned by BrowserProcessImpl.
This is an attempt to re-land r91390 without the OnProcessLaunched IPC
(since r92062 solved that in a different way by using WebPreferences).
The previous commit was reverted due to missing message_loop.h includes.
R=darin@chromium.org
Review URL: http://codereview.chromium.org/7343011
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92233 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/content_browser.gypi')
-rw-r--r-- | content/content_browser.gypi | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/content/content_browser.gypi b/content/content_browser.gypi index c0d2549a..50414b5 100644 --- a/content/content_browser.gypi +++ b/content/content_browser.gypi @@ -200,6 +200,8 @@ 'browser/mach_broker_mac.h', 'browser/mime_registry_message_filter.cc', 'browser/mime_registry_message_filter.h', + 'browser/net/browser_online_state_observer.cc', + 'browser/net/browser_online_state_observer.h', # TODO: These should be moved to test_support (see below), but # are currently used by production code in automation_provider.cc. 'browser/net/url_request_failed_dns_job.cc', |