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

Side by Side Diff: chrome/browser/sync/profile_sync_service.h

Issue 3436017: Remove unnecessary log spew from ProfileSyncService. (Closed)
Patch Set: const& Created 10 years, 3 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 | « chrome/browser/browser_about_handler.cc ('k') | chrome/browser/sync/profile_sync_service.cc » ('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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_SYNC_PROFILE_SYNC_SERVICE_H_ 5 #ifndef CHROME_BROWSER_SYNC_PROFILE_SYNC_SERVICE_H_
6 #define CHROME_BROWSER_SYNC_PROFILE_SYNC_SERVICE_H_ 6 #define CHROME_BROWSER_SYNC_PROFILE_SYNC_SERVICE_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after
318 318
319 // Sets the Cryptographer's passphrase. This will check asynchronously whether 319 // Sets the Cryptographer's passphrase. This will check asynchronously whether
320 // the passphrase is valid and notify ProfileSyncServiceObservers via the 320 // the passphrase is valid and notify ProfileSyncServiceObservers via the
321 // NotificationService when the outcome is known. 321 // NotificationService when the outcome is known.
322 virtual void SetPassphrase(const std::string& passphrase); 322 virtual void SetPassphrase(const std::string& passphrase);
323 323
324 // Returns whether processing changes is allowed. Check this before doing 324 // Returns whether processing changes is allowed. Check this before doing
325 // any model-modifying operations. 325 // any model-modifying operations.
326 bool ShouldPushChanges(); 326 bool ShouldPushChanges();
327 327
328 const GURL& sync_service_url() const { return sync_service_url_; }
329
328 protected: 330 protected:
329 // Used by ProfileSyncServiceMock only. 331 // Used by ProfileSyncServiceMock only.
330 // 332 //
331 // TODO(akalin): Separate this class out into an abstract 333 // TODO(akalin): Separate this class out into an abstract
332 // ProfileSyncService interface and a ProfileSyncServiceImpl class 334 // ProfileSyncService interface and a ProfileSyncServiceImpl class
333 // so we don't need this hack anymore. 335 // so we don't need this hack anymore.
334 ProfileSyncService(); 336 ProfileSyncService();
335 337
336 // Helper to install and configure a data type manager. 338 // Helper to install and configure a data type manager.
337 void ConfigureDataTypeManager(); 339 void ConfigureDataTypeManager();
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
460 // DataTypeManager in the event that the server informed us to cease and 462 // DataTypeManager in the event that the server informed us to cease and
461 // desist syncing immediately. 463 // desist syncing immediately.
462 bool expect_sync_configuration_aborted_; 464 bool expect_sync_configuration_aborted_;
463 465
464 scoped_ptr<TokenMigrator> token_migrator_; 466 scoped_ptr<TokenMigrator> token_migrator_;
465 467
466 DISALLOW_COPY_AND_ASSIGN(ProfileSyncService); 468 DISALLOW_COPY_AND_ASSIGN(ProfileSyncService);
467 }; 469 };
468 470
469 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_SERVICE_H_ 471 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_SERVICE_H_
OLDNEW
« no previous file with comments | « chrome/browser/browser_about_handler.cc ('k') | chrome/browser/sync/profile_sync_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698