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

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

Issue 7633077: Refactor syncapi.h (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 years, 4 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/syncapi_functions.h
diff --git a/chrome/browser/sync/engine/syncapi_functions.h b/chrome/browser/sync/engine/syncapi_functions.h
new file mode 100644
index 0000000000000000000000000000000000000000..6e68103686e46cc454c1524f1ef46b0e25a60fe1
--- /dev/null
+++ b/chrome/browser/sync/engine/syncapi_functions.h
@@ -0,0 +1,30 @@
+// Copyright (c) 2011 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.
+
+#ifndef CHROME_BROWSER_SYNC_ENGINE_SYNCAPI_FUNCTIONS_H_
+#define CHROME_BROWSER_SYNC_ENGINE_SYNCAPI_FUNCTIONS_H_
+#pragma once
+
+#include <string>
+
+#include "chrome/browser/sync/syncable/model_type.h"
+
+namespace sync_api {
+
+class BaseTransaction;
+class UserShare;
+enum PassphraseRequiredReason;
+
tim (not reviewing) 2011/08/15 22:53:55 nit - extra newline
+
+syncable::ModelTypeSet GetEncryptedTypes(
+ const sync_api::BaseTransaction* trans);
+
+// Returns the string representation of a PassphraseRequiredReason value.
+std::string PassphraseRequiredReasonToString(PassphraseRequiredReason reason);
+
+bool InitialSyncEndedForTypes(syncable::ModelTypeSet types, UserShare* share);
+
+} // namespace sync_api
+
+#endif // CHROME_BROWSER_SYNC_ENGINE_SYNCAPI_FUNCTIONS_H_

Powered by Google App Engine
This is Rietveld 408576698