OLD | NEW |
1 // Copyright (c) 2011 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" |
12 #include "base/scoped_ptr.h" | 12 #include "base/scoped_ptr.h" |
13 #include "chrome/browser/tab_contents/infobar_delegate.h" | 13 #include "chrome/browser/tab_contents/confirm_infobar_delegate.h" |
14 #include "chrome/common/net/url_fetcher.h" | 14 #include "chrome/common/net/url_fetcher.h" |
15 #include "chrome/common/notification_observer.h" | 15 #include "chrome/common/notification_observer.h" |
16 #include "chrome/common/notification_registrar.h" | 16 #include "chrome/common/notification_registrar.h" |
17 #include "googleurl/src/gurl.h" | 17 #include "googleurl/src/gurl.h" |
18 #include "net/base/network_change_notifier.h" | 18 #include "net/base/network_change_notifier.h" |
19 | 19 |
20 class NavigationController; | 20 class NavigationController; |
21 class PrefService; | 21 class PrefService; |
22 class TabContents; | 22 class TabContents; |
23 class TemplateURL; | 23 class TemplateURL; |
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
184 | 184 |
185 private: | 185 private: |
186 // ConfirmInfoBarDelegate: | 186 // ConfirmInfoBarDelegate: |
187 virtual string16 GetMessageText() const; | 187 virtual string16 GetMessageText() const; |
188 virtual string16 GetButtonLabel(InfoBarButton button) const; | 188 virtual string16 GetButtonLabel(InfoBarButton button) const; |
189 | 189 |
190 DISALLOW_COPY_AND_ASSIGN(GoogleURLTrackerInfoBarDelegate); | 190 DISALLOW_COPY_AND_ASSIGN(GoogleURLTrackerInfoBarDelegate); |
191 }; | 191 }; |
192 | 192 |
193 #endif // CHROME_BROWSER_GOOGLE_GOOGLE_URL_TRACKER_H_ | 193 #endif // CHROME_BROWSER_GOOGLE_GOOGLE_URL_TRACKER_H_ |
OLD | NEW |