Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(771)

Unified Diff: trunk/src/chrome/browser/invalidation/ticl_invalidation_service.cc

Issue 192283002: Revert 255858 "Simplify the user agent code some more since afte..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « trunk/src/chrome/browser/feedback/feedback_util.cc ('k') | trunk/src/chrome/browser/io_thread.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/chrome/browser/invalidation/ticl_invalidation_service.cc
===================================================================
--- trunk/src/chrome/browser/invalidation/ticl_invalidation_service.cc (revision 255866)
+++ trunk/src/chrome/browser/invalidation/ticl_invalidation_service.cc (working copy)
@@ -14,7 +14,6 @@
#include "chrome/browser/signin/about_signin_internals_factory.h"
#include "chrome/browser/signin/profile_oauth2_token_service.h"
#include "chrome/browser/signin/profile_oauth2_token_service_factory.h"
-#include "chrome/common/chrome_content_client.h"
#include "google_apis/gaia/gaia_constants.h"
#include "sync/notifier/gcm_network_channel_delegate.h"
#include "sync/notifier/invalidation_util.h"
@@ -376,7 +375,7 @@
invalidator_storage_->GetBootstrapData(),
syncer::WeakHandle<syncer::InvalidationStateTracker>(
invalidator_storage_->AsWeakPtr()),
- GetUserAgent(),
+ content::GetUserAgent(GURL()),
profile_->GetRequestContext()));
UpdateInvalidatorCredentials();
« no previous file with comments | « trunk/src/chrome/browser/feedback/feedback_util.cc ('k') | trunk/src/chrome/browser/io_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698