| Index: chrome/browser/alternate_nav_url_fetcher.h
|
| ===================================================================
|
| --- chrome/browser/alternate_nav_url_fetcher.h (revision 35740)
|
| +++ chrome/browser/alternate_nav_url_fetcher.h (working copy)
|
| @@ -1,4 +1,4 @@
|
| -// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
|
| +// Copyright (c) 2010 The Chromium Authors. All rights reserved.
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| @@ -62,6 +62,12 @@
|
| virtual void InfoBarClosed();
|
|
|
| private:
|
| + // Sets |state_| to either SUCCEEDED or FAILED depending on the result of the
|
| + // fetch.
|
| + void SetStatusFromURLFetch(const GURL& url,
|
| + const URLRequestStatus& status,
|
| + int response_code);
|
| +
|
| // Displays the infobar if all conditions are met (the page has loaded and
|
| // the fetch of the alternate URL succeeded).
|
| void ShowInfobarIfPossible();
|
|
|