OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 <map> | 9 #include <map> |
10 #include <string> | 10 #include <string> |
11 #include <utility> | 11 #include <utility> |
12 | 12 |
13 #include "base/gtest_prod_util.h" | 13 #include "base/gtest_prod_util.h" |
14 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
15 #include "base/memory/weak_ptr.h" | 15 #include "base/memory/weak_ptr.h" |
16 #include "chrome/browser/profiles/profile_keyed_service.h" | 16 #include "chrome/browser/profiles/profile_keyed_service.h" |
17 #include "chrome/browser/tab_contents/confirm_infobar_delegate.h" | 17 #include "chrome/browser/tab_contents/confirm_infobar_delegate.h" |
18 #include "content/public/browser/notification_observer.h" | 18 #include "content/public/browser/notification_observer.h" |
19 #include "content/public/browser/notification_registrar.h" | 19 #include "content/public/browser/notification_registrar.h" |
20 #include "content/public/common/url_fetcher.h" | |
21 #include "googleurl/src/gurl.h" | 20 #include "googleurl/src/gurl.h" |
22 #include "net/base/network_change_notifier.h" | 21 #include "net/base/network_change_notifier.h" |
| 22 #include "net/url_request/url_fetcher.h" |
23 #include "net/url_request/url_fetcher_delegate.h" | 23 #include "net/url_request/url_fetcher_delegate.h" |
24 | 24 |
25 class GoogleURLTrackerInfoBarDelegate; | 25 class GoogleURLTrackerInfoBarDelegate; |
26 class PrefService; | 26 class PrefService; |
27 class Profile; | 27 class Profile; |
28 | 28 |
29 namespace content { | 29 namespace content { |
30 class NavigationController; | 30 class NavigationController; |
31 class WebContents; | 31 class WebContents; |
32 } | 32 } |
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
236 | 236 |
237 private: | 237 private: |
238 // ConfirmInfoBarDelegate: | 238 // ConfirmInfoBarDelegate: |
239 virtual string16 GetMessageText() const OVERRIDE; | 239 virtual string16 GetMessageText() const OVERRIDE; |
240 virtual string16 GetButtonLabel(InfoBarButton button) const OVERRIDE; | 240 virtual string16 GetButtonLabel(InfoBarButton button) const OVERRIDE; |
241 | 241 |
242 DISALLOW_COPY_AND_ASSIGN(GoogleURLTrackerInfoBarDelegate); | 242 DISALLOW_COPY_AND_ASSIGN(GoogleURLTrackerInfoBarDelegate); |
243 }; | 243 }; |
244 | 244 |
245 #endif // CHROME_BROWSER_GOOGLE_GOOGLE_URL_TRACKER_H_ | 245 #endif // CHROME_BROWSER_GOOGLE_GOOGLE_URL_TRACKER_H_ |
OLD | NEW |