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

Side by Side Diff: components/google/core/browser/google_url_tracker.h

Issue 929483005: Remove forward-declaration of non-existent class (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 COMPONENTS_GOOGLE_CORE_BROWSER_GOOGLE_URL_TRACKER_H_ 5 #ifndef COMPONENTS_GOOGLE_CORE_BROWSER_GOOGLE_URL_TRACKER_H_
6 #define COMPONENTS_GOOGLE_CORE_BROWSER_GOOGLE_URL_TRACKER_H_ 6 #define COMPONENTS_GOOGLE_CORE_BROWSER_GOOGLE_URL_TRACKER_H_
7 7
8 #include "base/callback_forward.h" 8 #include "base/callback_forward.h"
9 #include "base/callback_list.h" 9 #include "base/callback_list.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
11 #include "base/memory/weak_ptr.h" 11 #include "base/memory/weak_ptr.h"
12 #include "components/google/core/browser/google_url_tracker_client.h" 12 #include "components/google/core/browser/google_url_tracker_client.h"
13 #include "components/keyed_service/core/keyed_service.h" 13 #include "components/keyed_service/core/keyed_service.h"
14 #include "net/base/network_change_notifier.h" 14 #include "net/base/network_change_notifier.h"
15 #include "net/url_request/url_fetcher.h" 15 #include "net/url_request/url_fetcher.h"
16 #include "net/url_request/url_fetcher_delegate.h" 16 #include "net/url_request/url_fetcher_delegate.h"
17 #include "url/gurl.h" 17 #include "url/gurl.h"
18 18
19 class GoogleURLTrackerNavigationHelper;
20 class PrefService; 19 class PrefService;
21 20
22 namespace infobars { 21 namespace infobars {
23 class InfoBar; 22 class InfoBar;
24 } 23 }
25 24
26 // 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
27 // change. The current value is saved to prefs. 26 // change. The current value is saved to prefs.
28 // 27 //
29 // Most consumers should only call google_url(). Consumers who need to be 28 // Most consumers should only call google_url(). Consumers who need to be
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 // updated URL. If this is never set, we won't 114 // updated URL. If this is never set, we won't
116 // bother to fetch anything. 115 // bother to fetch anything.
117 // Consumers should register a callback via 116 // Consumers should register a callback via
118 // RegisterCallback(). 117 // RegisterCallback().
119 base::WeakPtrFactory<GoogleURLTracker> weak_ptr_factory_; 118 base::WeakPtrFactory<GoogleURLTracker> weak_ptr_factory_;
120 119
121 DISALLOW_COPY_AND_ASSIGN(GoogleURLTracker); 120 DISALLOW_COPY_AND_ASSIGN(GoogleURLTracker);
122 }; 121 };
123 122
124 #endif // COMPONENTS_GOOGLE_CORE_BROWSER_GOOGLE_URL_TRACKER_H_ 123 #endif // COMPONENTS_GOOGLE_CORE_BROWSER_GOOGLE_URL_TRACKER_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698