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

Side by Side Diff: chrome/browser/sync/encryption/nigori.cc

Issue 8468023: Move encryption related files from util folder to encryption folder. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: For review. Created 9 years, 1 month 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 #include "chrome/browser/sync/util/nigori.h" 5 #include "chrome/browser/sync/encryption/nigori.h"
6 6
7 #if defined(OS_WIN) 7 #if defined(OS_WIN)
8 #include <winsock2.h> // for htonl 8 #include <winsock2.h> // for htonl
9 #else 9 #else
10 #include <arpa/inet.h> 10 #include <arpa/inet.h>
11 #endif 11 #endif
12 12
13 #include <sstream> 13 #include <sstream>
14 #include <vector> 14 #include <vector>
15 15
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after
252 DCHECK(user_key); 252 DCHECK(user_key);
253 DCHECK(encryption_key); 253 DCHECK(encryption_key);
254 DCHECK(mac_key); 254 DCHECK(mac_key);
255 255
256 return user_key_->GetRawKey(user_key) && 256 return user_key_->GetRawKey(user_key) &&
257 encryption_key_->GetRawKey(encryption_key) && 257 encryption_key_->GetRawKey(encryption_key) &&
258 mac_key_->GetRawKey(mac_key); 258 mac_key_->GetRawKey(mac_key);
259 } 259 }
260 260
261 } // namespace browser_sync 261 } // namespace browser_sync
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698