| Index: chrome/browser/rlz/rlz.h
|
| diff --git a/chrome/browser/rlz/rlz.h b/chrome/browser/rlz/rlz.h
|
| index 7145085d7e7ef5a8fad051214967ce6b0b19fb33..978b8502330605ae3e8886954107a24ef220904f 100644
|
| --- a/chrome/browser/rlz/rlz.h
|
| +++ b/chrome/browser/rlz/rlz.h
|
| @@ -65,10 +65,6 @@ class RLZTracker : public content::NotificationObserver {
|
| RLZTracker();
|
| ~RLZTracker();
|
|
|
| - // Thread function entry point, see ScheduleFinancialPing(). Assumes argument
|
| - // is a pointer to an RLZTracker.
|
| - static void _cdecl PingNow(void* tracker);
|
| -
|
| // Performs initialization of RLZ tracker that is purposefully delayed so
|
| // that it does not interfere with chrome startup time.
|
| virtual void DelayedInit();
|
| @@ -84,6 +80,11 @@ class RLZTracker : public content::NotificationObserver {
|
| tracker_ = tracker;
|
| }
|
|
|
| + // Sends the financial ping to the RLZ servers and invalidates the RLZ string
|
| + // cache since the response from the RLZ server may have changed then.
|
| + // Protected so that its accessible from tests.
|
| + void PingNowImpl();
|
| +
|
| private:
|
| friend struct DefaultSingletonTraits<RLZTracker>;
|
| friend class base::RefCountedThreadSafe<RLZTracker>;
|
| @@ -109,10 +110,6 @@ class RLZTracker : public content::NotificationObserver {
|
| // virtual to allow tests to override how the scheduling is done.
|
| virtual bool ScheduleGetAccessPointRlz(rlz_lib::AccessPoint point);
|
|
|
| - // Sends the financial ping to the RLZ servers and invalidates the RLZ string
|
| - // cache since the response from the RLZ server may have changed then.
|
| - void PingNowImpl();
|
| -
|
| // Sends the financial ping to the RLZ servers. This method is virtual to
|
| // allow tests to override.
|
| virtual bool SendFinancialPing(const std::string& brand,
|
|
|