summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
authortim@chromium.org <tim@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-20 02:38:13 +0000
committertim@chromium.org <tim@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-20 02:38:13 +0000
commita427c1d15e75f6fc437d91ae44828c133cce5590 (patch)
tree84f299bc65e103c1682dc08f14889a9209c32d2c /chrome
parent1ded764281537e5c5539b69a62d347f41900067f (diff)
downloadchromium_src-a427c1d15e75f6fc437d91ae44828c133cce5590.zip
chromium_src-a427c1d15e75f6fc437d91ae44828c133cce5590.tar.gz
chromium_src-a427c1d15e75f6fc437d91ae44828c133cce5590.tar.bz2
fix clang build
TBR=lipalani BUG=none TEST=clang goes green Review URL: http://codereview.chromium.org/6883077 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@82222 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r--chrome/browser/sync/engine/syncer_types.cc15
-rw-r--r--chrome/browser/sync/engine/syncer_types.h5
-rw-r--r--chrome/chrome.gyp1
3 files changed, 18 insertions, 3 deletions
diff --git a/chrome/browser/sync/engine/syncer_types.cc b/chrome/browser/sync/engine/syncer_types.cc
new file mode 100644
index 0000000..8bc5524
--- /dev/null
+++ b/chrome/browser/sync/engine/syncer_types.cc
@@ -0,0 +1,15 @@
+// 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.
+
+#include "chrome/browser/sync/engine/syncer_types.h"
+
+namespace browser_sync {
+
+SyncEngineEvent::SyncEngineEvent(EventCause cause) : what_happened(cause),
+ snapshot(NULL) {
+}
+
+SyncEngineEvent::~SyncEngineEvent() {}
+
+} // namespace browser_sync
diff --git a/chrome/browser/sync/engine/syncer_types.h b/chrome/browser/sync/engine/syncer_types.h
index a2647e0..6f45395 100644
--- a/chrome/browser/sync/engine/syncer_types.h
+++ b/chrome/browser/sync/engine/syncer_types.h
@@ -104,9 +104,8 @@ struct SyncEngineEvent {
CLEAR_SERVER_DATA_FAILED,
};
- explicit SyncEngineEvent(EventCause cause) : what_happened(cause),
- snapshot(NULL) {
-}
+ explicit SyncEngineEvent(EventCause cause);
+ ~SyncEngineEvent();
EventCause what_happened;
diff --git a/chrome/chrome.gyp b/chrome/chrome.gyp
index 3da3e29..e2a370a 100644
--- a/chrome/chrome.gyp
+++ b/chrome/chrome.gyp
@@ -565,6 +565,7 @@
'browser/sync/engine/syncer_proto_util.h',
'browser/sync/engine/syncer_thread.cc',
'browser/sync/engine/syncer_thread.h',
+ 'browser/sync/engine/syncer_types.cc',
'browser/sync/engine/syncer_types.h',
'browser/sync/engine/syncer_util.cc',
'browser/sync/engine/syncer_util.h',