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

Unified Diff: sync/internal_api/public/sync_encryption_handler.h

Issue 11515009: [sync] Componentize sync: Part 2: Add SYNC_EXPORTs to files in src/sync/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years 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: sync/internal_api/public/sync_encryption_handler.h
diff --git a/sync/internal_api/public/sync_encryption_handler.h b/sync/internal_api/public/sync_encryption_handler.h
index d7be069761fdb98066d7d0be66061602e1a4c425..55a88da33ed8758fa4179895718fb0619302d10e 100644
--- a/sync/internal_api/public/sync_encryption_handler.h
+++ b/sync/internal_api/public/sync_encryption_handler.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Copyright 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.
@@ -8,6 +8,7 @@
#include <string>
#include "base/time.h"
+#include "sync/base/sync_export.h"
#include "sync/internal_api/public/base/model_type.h"
namespace sync_pb {
@@ -54,7 +55,7 @@ class SyncEncryptionHandler {
public:
// All Observer methods are done synchronously from within a transaction and
// on the sync thread.
- class Observer {
+ class SYNC_EXPORT Observer {
akalin 2012/12/11 00:02:52 this is a bit weird, but I guess it's okay
Raghu Simha 2012/12/11 01:27:51 Weird because SyncEncryptionHandler isn't being ex
public:
Observer();
@@ -168,7 +169,7 @@ class SyncEncryptionHandler {
virtual PassphraseType GetPassphraseType() const = 0;
// The set of types that are always encrypted.
- static ModelTypeSet SensitiveTypes();
+ SYNC_EXPORT static ModelTypeSet SensitiveTypes();
};
} // namespace syncer

Powered by Google App Engine
This is Rietveld 408576698