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/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
13 #include "chrome/browser/tab_contents/confirm_infobar_delegate.h" | 13 #include "chrome/browser/tab_contents/confirm_infobar_delegate.h" |
14 #include "chrome/common/net/url_fetcher.h" | |
15 #include "content/common/notification_observer.h" | 14 #include "content/common/notification_observer.h" |
16 #include "content/common/notification_registrar.h" | 15 #include "content/common/notification_registrar.h" |
| 16 #include "content/common/url_fetcher.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; |
24 | 24 |
25 // This object is responsible for checking the Google URL once per network | 25 // This object is responsible for checking the Google URL once per network |
26 // change, and if necessary prompting the user to see if they want to change to | 26 // change, and if necessary prompting the user to see if they want to change to |
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
179 | 179 |
180 private: | 180 private: |
181 // ConfirmInfoBarDelegate: | 181 // ConfirmInfoBarDelegate: |
182 virtual string16 GetMessageText() const OVERRIDE; | 182 virtual string16 GetMessageText() const OVERRIDE; |
183 virtual string16 GetButtonLabel(InfoBarButton button) const OVERRIDE; | 183 virtual string16 GetButtonLabel(InfoBarButton button) const OVERRIDE; |
184 | 184 |
185 DISALLOW_COPY_AND_ASSIGN(GoogleURLTrackerInfoBarDelegate); | 185 DISALLOW_COPY_AND_ASSIGN(GoogleURLTrackerInfoBarDelegate); |
186 }; | 186 }; |
187 | 187 |
188 #endif // CHROME_BROWSER_GOOGLE_GOOGLE_URL_TRACKER_H_ | 188 #endif // CHROME_BROWSER_GOOGLE_GOOGLE_URL_TRACKER_H_ |
OLD | NEW |