| Index: chrome/browser/google/chrome_google_url_tracker_client.cc
|
| diff --git a/chrome/browser/google/chrome_google_url_tracker_client.cc b/chrome/browser/google/chrome_google_url_tracker_client.cc
|
| index 541666920ba805f1f0986612ddf63940895ad9d2..5068afece4ca5b0119e16db82f3e6cf758a9a575 100644
|
| --- a/chrome/browser/google/chrome_google_url_tracker_client.cc
|
| +++ b/chrome/browser/google/chrome_google_url_tracker_client.cc
|
| @@ -4,10 +4,12 @@
|
|
|
| #include "chrome/browser/google/chrome_google_url_tracker_client.h"
|
|
|
| +#include "base/command_line.h"
|
| #include "chrome/browser/chrome_notification_types.h"
|
| #include "chrome/browser/google/google_url_tracker.h"
|
| #include "chrome/browser/google/google_url_tracker_navigation_helper_impl.h"
|
| #include "chrome/browser/infobars/infobar_service.h"
|
| +#include "chrome/common/chrome_switches.h"
|
| #include "content/public/browser/navigation_controller.h"
|
| #include "content/public/browser/navigation_entry.h"
|
| #include "content/public/browser/notification_service.h"
|
| @@ -40,6 +42,11 @@ bool ChromeGoogleURLTrackerClient::IsListeningForNavigationStart() {
|
| content::NotificationService::AllBrowserContextsAndSources());
|
| }
|
|
|
| +bool ChromeGoogleURLTrackerClient::IsBackgroundNetworkingEnabled() {
|
| + return !CommandLine::ForCurrentProcess()->HasSwitch(
|
| + switches::kDisableBackgroundNetworking);
|
| +}
|
| +
|
| void ChromeGoogleURLTrackerClient::Observe(
|
| int type,
|
| const content::NotificationSource& source,
|
|
|