From a427c1d15e75f6fc437d91ae44828c133cce5590 Mon Sep 17 00:00:00 2001 From: "tim@chromium.org" Date: Wed, 20 Apr 2011 02:38:13 +0000 Subject: 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 --- chrome/browser/sync/engine/syncer_types.cc | 15 +++++++++++++++ chrome/browser/sync/engine/syncer_types.h | 5 ++--- chrome/chrome.gyp | 1 + 3 files changed, 18 insertions(+), 3 deletions(-) create mode 100644 chrome/browser/sync/engine/syncer_types.cc (limited to 'chrome') 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', -- cgit v1.1