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

Unified Diff: chrome/browser/rlz/rlz.cc

Issue 11421201: Revert 170247 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/rlz/rlz.cc
===================================================================
--- chrome/browser/rlz/rlz.cc (revision 170743)
+++ chrome/browser/rlz/rlz.cc (working copy)
@@ -47,11 +47,6 @@
} // namespace GoogleUpdateSettings
#endif
-// There is no corresponding header for content/browser/browser_main_runner.cc
-// to export this global but it is used in other places as well (also defined
-// as "extern").
-extern bool g_exited_main_message_loop;
-
using content::BrowserThread;
using content::NavigationEntry;
@@ -128,11 +123,6 @@
bool SendFinancialPing(const std::string& brand,
const string16& lang,
const string16& referral) {
- // It's possible for the user to close Chrome just before the time that this
- // ping is due to go out. Detect that condition and abort.
- if (g_exited_main_message_loop)
- return false;
-
rlz_lib::AccessPoint points[] = {RLZTracker::CHROME_OMNIBOX,
RLZTracker::CHROME_HOME_PAGE,
rlz_lib::NO_ACCESS_POINT};
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698