| Index: chrome/browser/ui/sync/one_click_signin_helper.h
|
| diff --git a/chrome/browser/ui/sync/one_click_signin_helper.h b/chrome/browser/ui/sync/one_click_signin_helper.h
|
| index f1ffb84185bc4def86089bcdfd904928621ebc91..b9b1d47a3a7363174317f1b2b7a6dd2c8377adb4 100644
|
| --- a/chrome/browser/ui/sync/one_click_signin_helper.h
|
| +++ b/chrome/browser/ui/sync/one_click_signin_helper.h
|
| @@ -24,6 +24,9 @@ class URLRequest;
|
| // more about what this means.
|
| class OneClickSigninHelper : public content::WebContentsObserver {
|
| public:
|
| + explicit OneClickSigninHelper(content::WebContents* web_contents);
|
| + virtual ~OneClickSigninHelper();
|
| +
|
| // Returns true if the one-click signin feature can be offered at this time.
|
| // It can be offered if the contents is not in an incognito window. If
|
| // |check_connected| is true, then the profile is checked to see if it's
|
| @@ -34,6 +37,9 @@ class OneClickSigninHelper : public content::WebContentsObserver {
|
| const std::string& email,
|
| bool check_connected);
|
|
|
| + // Initialize a finch experiment for the infobar.
|
| + static void InitializeFieldTrial();
|
| +
|
| // Looks for the Google-Accounts-SignIn response header, and if found,
|
| // tries to display an infobar in the tab contents identified by the
|
| // child/route id.
|
| @@ -41,9 +47,6 @@ class OneClickSigninHelper : public content::WebContentsObserver {
|
| int child_id,
|
| int route_id);
|
|
|
| - explicit OneClickSigninHelper(content::WebContents* web_contents);
|
| - virtual ~OneClickSigninHelper();
|
| -
|
| private:
|
| // The portion of ShowInfoBarIfPossible() that needs to run on the UI thread.
|
| static void ShowInfoBarUIThread(const std::string& session_index,
|
|
|