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

Unified Diff: chrome/browser/sync/engine/nigori_util.h

Issue 8402014: [Sync] Make GetFirstChildId return a flag indicating success (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments Created 9 years, 2 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
Index: chrome/browser/sync/engine/nigori_util.h
diff --git a/chrome/browser/sync/engine/nigori_util.h b/chrome/browser/sync/engine/nigori_util.h
index d3d25ddc0abd5e9d5f3379114d9b2ac0584e62a1..2ff5a5362037050fb3566b1d0a2004d95de3e60b 100644
--- a/chrome/browser/sync/engine/nigori_util.h
+++ b/chrome/browser/sync/engine/nigori_util.h
@@ -8,6 +8,7 @@
#define CHROME_BROWSER_SYNC_ENGINE_NIGORI_UTIL_H_
#pragma once
+#include "base/compiler_specific.h"
#include "chrome/browser/sync/protocol/nigori_specifics.pb.h"
#include "chrome/browser/sync/syncable/model_type.h"
@@ -55,10 +56,11 @@ bool SpecificsNeedsEncryption(const ModelTypeSet& encrypted_types,
const sync_pb::EntitySpecifics& specifics);
// Verifies all data of type |type| is encrypted appropriately.
-bool VerifyDataTypeEncryption(BaseTransaction* const trans,
- browser_sync::Cryptographer* cryptographer,
- ModelType type,
- bool is_encrypted);
+bool VerifyDataTypeEncryptionForTest(
+ BaseTransaction* const trans,
+ browser_sync::Cryptographer* cryptographer,
+ ModelType type,
+ bool is_encrypted) WARN_UNUSED_RESULT;
} // namespace syncable
« no previous file with comments | « chrome/browser/sync/engine/apply_updates_command_unittest.cc ('k') | chrome/browser/sync/engine/nigori_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698