| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_GOOGLE_GOOGLE_URL_TRACKER_H_ | 5 #ifndef CHROME_BROWSER_GOOGLE_GOOGLE_URL_TRACKER_H_ |
| 6 #define CHROME_BROWSER_GOOGLE_GOOGLE_URL_TRACKER_H_ | 6 #define CHROME_BROWSER_GOOGLE_GOOGLE_URL_TRACKER_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| 11 #include "base/gtest_prod_util.h" | 11 #include "base/gtest_prod_util.h" |
| (...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 178 | 178 |
| 179 protected: | 179 protected: |
| 180 virtual ~GoogleURLTrackerInfoBarDelegate(); | 180 virtual ~GoogleURLTrackerInfoBarDelegate(); |
| 181 | 181 |
| 182 GoogleURLTracker* google_url_tracker_; | 182 GoogleURLTracker* google_url_tracker_; |
| 183 const GURL new_google_url_; | 183 const GURL new_google_url_; |
| 184 | 184 |
| 185 private: | 185 private: |
| 186 // ConfirmInfoBarDelegate | 186 // ConfirmInfoBarDelegate |
| 187 virtual string16 GetMessageText() const; | 187 virtual string16 GetMessageText() const; |
| 188 virtual int GetButtons() const; | |
| 189 virtual string16 GetButtonLabel(InfoBarButton button) const; | 188 virtual string16 GetButtonLabel(InfoBarButton button) const; |
| 190 | 189 |
| 191 DISALLOW_COPY_AND_ASSIGN(GoogleURLTrackerInfoBarDelegate); | 190 DISALLOW_COPY_AND_ASSIGN(GoogleURLTrackerInfoBarDelegate); |
| 192 }; | 191 }; |
| 193 | 192 |
| 194 #endif // CHROME_BROWSER_GOOGLE_GOOGLE_URL_TRACKER_H_ | 193 #endif // CHROME_BROWSER_GOOGLE_GOOGLE_URL_TRACKER_H_ |
| OLD | NEW |