Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(370)

Side by Side Diff: chrome/browser/google/google_url_tracker.h

Issue 7006005: Move UrlFetcher to content. I originally thought that it's only used by chrome code, but turns o... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix linux Created 9 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_updater_unittest.cc ('k') | chrome/browser/google/google_url_tracker_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698