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

Unified Diff: chrome/common/temp_scaffolding_stubs.h

Issue 28292: Convert encryptor.cc and friends to string16. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/webdata/web_database.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/temp_scaffolding_stubs.h
===================================================================
--- chrome/common/temp_scaffolding_stubs.h (revision 10646)
+++ chrome/common/temp_scaffolding_stubs.h (working copy)
@@ -18,6 +18,7 @@
#include "base/logging.h"
#include "base/message_loop.h"
#include "base/ref_counted.h"
+#include "base/string16.h"
#include "base/gfx/native_widget_types.h"
#include "base/gfx/rect.h"
#include "chrome/browser/bookmarks/bookmark_model.h"
@@ -580,14 +581,14 @@
class Encryptor {
public:
- static bool EncryptWideString(const std::wstring& plaintext,
- std::string* ciphertext) {
+ static bool EncryptString16(const string16& plaintext,
+ std::string* ciphertext) {
NOTIMPLEMENTED();
return false;
}
- static bool DecryptWideString(const std::string& ciphertext,
- std::wstring* plaintext) {
+ static bool DecryptString16(const std::string& ciphertext,
+ string16* plaintext) {
NOTIMPLEMENTED();
return false;
}
« no previous file with comments | « chrome/browser/webdata/web_database.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698