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

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

Issue 13392014: Move c/b/webdata/ code to components/webdata/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Pure merge Created 7 years, 8 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
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_TOKEN_SERVICE_TABLE_H_ 5 #ifndef CHROME_BROWSER_WEBDATA_TOKEN_SERVICE_TABLE_H_
6 #define CHROME_BROWSER_WEBDATA_TOKEN_SERVICE_TABLE_H_ 6 #define CHROME_BROWSER_WEBDATA_TOKEN_SERVICE_TABLE_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 10
11 #include "base/compiler_specific.h" 11 #include "base/compiler_specific.h"
12 #include "chrome/browser/webdata/web_database_table.h" 12 #include "components/webdata/common/web_database_table.h"
13 13
14 class WebDatabase; 14 class WebDatabase;
15 15
16 class TokenServiceTable : public WebDatabaseTable { 16 class TokenServiceTable : public WebDatabaseTable {
17 public: 17 public:
18 TokenServiceTable() {} 18 TokenServiceTable() {}
19 virtual ~TokenServiceTable() {} 19 virtual ~TokenServiceTable() {}
20 20
21 // Retrieves the TokenServiceTable* owned by |database|. 21 // Retrieves the TokenServiceTable* owned by |database|.
22 static TokenServiceTable* FromWebDatabase(WebDatabase* db); 22 static TokenServiceTable* FromWebDatabase(WebDatabase* db);
(...skipping 16 matching lines...) Expand all
39 // a mac keychain popup. 39 // a mac keychain popup.
40 // True if we encrypted a token and stored it, false otherwise. 40 // True if we encrypted a token and stored it, false otherwise.
41 bool SetTokenForService(const std::string& service, 41 bool SetTokenForService(const std::string& service,
42 const std::string& token); 42 const std::string& token);
43 43
44 private: 44 private:
45 DISALLOW_COPY_AND_ASSIGN(TokenServiceTable); 45 DISALLOW_COPY_AND_ASSIGN(TokenServiceTable);
46 }; 46 };
47 47
48 #endif // CHROME_BROWSER_WEBDATA_TOKEN_SERVICE_TABLE_H_ 48 #endif // CHROME_BROWSER_WEBDATA_TOKEN_SERVICE_TABLE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698