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

Unified Diff: sync/util/data_encryption_win.cc

Issue 9699057: [Sync] Move 'sync' target to sync/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address Tim's comments Created 8 years, 9 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 | « sync/util/data_encryption_win.h ('k') | sync/util/data_encryption_win_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « sync/util/data_encryption_win.h ('k') | sync/util/data_encryption_win_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698