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

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

Issue 18305: Move url_* to net subdir (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 11 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
« no previous file with comments | « chrome/browser/browser_main.cc ('k') | chrome/browser/importer/toolbar_importer.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 #include "chrome/browser/url_fetcher.h" 5 #include "chrome/browser/net/url_fetcher.h"
6 #include "chrome/common/notification_service.h" 6 #include "chrome/common/notification_service.h"
7 7
8 class PrefService; 8 class PrefService;
9 9
10 // This object is responsible for updating the Google URL at most once per run, 10 // This object is responsible for updating the Google URL at most once per run,
11 // and tracking the currently known value, which is also saved to a pref. 11 // and tracking the currently known value, which is also saved to a pref.
12 // 12 //
13 // Most consumers should only call GoogleURL(), which is guaranteed to 13 // Most consumers should only call GoogleURL(), which is guaranteed to
14 // synchronously return a value at all times (even during startup or in unittest 14 // synchronously return a value at all times (even during startup or in unittest
15 // mode). Consumers who need to be notified when things change should listen to 15 // mode). Consumers who need to be notified when things change should listen to
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 // updated URL. If this is never set, we won't 94 // updated URL. If this is never set, we won't
95 // bother to fetch anything. 95 // bother to fetch anything.
96 bool request_context_available_; 96 bool request_context_available_;
97 // True when the profile has been loaded and the 97 // True when the profile has been loaded and the
98 // default request context created, so we can 98 // default request context created, so we can
99 // actually do the fetch with the right data. 99 // actually do the fetch with the right data.
100 100
101 DISALLOW_EVIL_CONSTRUCTORS(GoogleURLTracker); 101 DISALLOW_EVIL_CONSTRUCTORS(GoogleURLTracker);
102 }; 102 };
103 103
OLDNEW
« no previous file with comments | « chrome/browser/browser_main.cc ('k') | chrome/browser/importer/toolbar_importer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698