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

Unified Diff: chrome/browser/policy/device_token_fetcher.h

Issue 5212005: Make comments about profile pointer in pref_value_store more informative. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: updates. Created 10 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/prefs/pref_value_store.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/policy/device_token_fetcher.h
diff --git a/chrome/browser/policy/device_token_fetcher.h b/chrome/browser/policy/device_token_fetcher.h
index 687056009025d1d534a254af55ce04b36b903abf..7704d35cdc0c4391fbba84be422896a6ed321de8 100644
--- a/chrome/browser/policy/device_token_fetcher.h
+++ b/chrome/browser/policy/device_token_fetcher.h
@@ -31,11 +31,9 @@ class DeviceTokenFetcher
public DeviceManagementBackend::DeviceRegisterResponseDelegate,
public base::RefCountedThreadSafe<DeviceTokenFetcher> {
public:
- // Requests to the device management server are sent through |backend|, which
- // is passed in explicitly to simplify mocking of the backend for unit
- // testing. The fetcher uses the directory in |token_dir| in which to store
- // the device token once it's retrieved from the server. Should only be called
- // by unit tests.
+ // Requests to the device management server are sent through |backend|. It
+ // obtains the authentication token from |token_service|. The fetcher stores
+ // the device token to |token_path| once it's retrieved from the server.
DeviceTokenFetcher(DeviceManagementBackend* backend,
TokenService* token_service,
const FilePath& token_path);
« no previous file with comments | « no previous file | chrome/browser/prefs/pref_value_store.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698