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

Side by Side Diff: chrome/browser/webdata/web_data_service.h

Issue 8698001: sync: change semantics (and name) of SigninManager::GetUsername (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove check Created 9 years 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_WEBDATA_WEB_DATA_SERVICE_H__ 5 #ifndef CHROME_BROWSER_WEBDATA_WEB_DATA_SERVICE_H__
6 #define CHROME_BROWSER_WEBDATA_WEB_DATA_SERVICE_H__ 6 #define CHROME_BROWSER_WEBDATA_WEB_DATA_SERVICE_H__
7 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 #include <string> 10 #include <string>
(...skipping 379 matching lines...) Expand 10 before | Expand all | Expand 10 after
390 ////////////////////////////////////////////////////////////////////////////// 390 //////////////////////////////////////////////////////////////////////////////
391 391
392 // Set a token to use for a specified service. 392 // Set a token to use for a specified service.
393 void SetTokenForService(const std::string& service, 393 void SetTokenForService(const std::string& service,
394 const std::string& token); 394 const std::string& token);
395 395
396 // Remove all tokens stored in the web database. 396 // Remove all tokens stored in the web database.
397 void RemoveAllTokens(); 397 void RemoveAllTokens();
398 398
399 // Null on failure. Success is WDResult<std::vector<std::string> > 399 // Null on failure. Success is WDResult<std::vector<std::string> >
400 Handle GetAllTokens(WebDataServiceConsumer* consumer); 400 virtual Handle GetAllTokens(WebDataServiceConsumer* consumer);
401 401
402 ////////////////////////////////////////////////////////////////////////////// 402 //////////////////////////////////////////////////////////////////////////////
403 // 403 //
404 // Password manager 404 // Password manager
405 // NOTE: These methods are all deprecated; new clients should use 405 // NOTE: These methods are all deprecated; new clients should use
406 // PasswordStore. These are only still here because Windows is (temporarily) 406 // PasswordStore. These are only still here because Windows is (temporarily)
407 // still using them for its PasswordStore implementation. 407 // still using them for its PasswordStore implementation.
408 // 408 //
409 ////////////////////////////////////////////////////////////////////////////// 409 //////////////////////////////////////////////////////////////////////////////
410 410
(...skipping 335 matching lines...) Expand 10 before | Expand all | Expand 10 after
746 // result can be NULL, if no result is expected or if the database could 746 // result can be NULL, if no result is expected or if the database could
747 // not be opened. The result object is destroyed after this call. 747 // not be opened. The result object is destroyed after this call.
748 virtual void OnWebDataServiceRequestDone(WebDataService::Handle h, 748 virtual void OnWebDataServiceRequestDone(WebDataService::Handle h,
749 const WDTypedResult* result) = 0; 749 const WDTypedResult* result) = 0;
750 750
751 protected: 751 protected:
752 virtual ~WebDataServiceConsumer() {} 752 virtual ~WebDataServiceConsumer() {}
753 }; 753 };
754 754
755 #endif // CHROME_BROWSER_WEBDATA_WEB_DATA_SERVICE_H__ 755 #endif // CHROME_BROWSER_WEBDATA_WEB_DATA_SERVICE_H__
OLDNEW
« chrome/browser/sync/signin_manager.h ('K') | « chrome/browser/ui/auto_login_prompter.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698