Index: sync/util/data_encryption_win.cc |
diff --git a/chrome/browser/sync/util/data_encryption.cc b/sync/util/data_encryption_win.cc |
similarity index 83% |
rename from chrome/browser/sync/util/data_encryption.cc |
rename to sync/util/data_encryption_win.cc |
index 10f19ec40e9b36304fd4e46ded8ea6130404f8fd..bdc1e9d9ba310498676e2471ede7a6371d78a6fb 100644 |
--- a/chrome/browser/sync/util/data_encryption.cc |
+++ b/sync/util/data_encryption_win.cc |
@@ -1,10 +1,10 @@ |
-// Copyright (c) 2010 The Chromium Authors. All rights reserved. |
+// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
// |
// NOTE: this file is Winodws specific. |
-#include "chrome/browser/sync/util/data_encryption.h" |
+#include "sync/util/data_encryption_win.h" |
#include <windows.h> |
#include <wincrypt.h> |
@@ -15,6 +15,12 @@ |
#include "base/logging.h" |
+#pragma comment(lib, "crypt32.lib") |
+ |
+// TODO(akalin): Merge this with similar code in |
+// chrome/browser/password_manager/encryptor_win.cc. Preferably, all |
+// this stuff would live in crypto/. |
+ |
using std::string; |
using std::vector; |