1 // Copyright 2014 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #include "sync/test/fake_server/entity_builder.h" 6 7 #include <string> 8 9 #include "base/guid.h" 10 #include "sync/internal_api/public/base/model_type.h" 11 12 using std::string; 13 14 using syncer::ModelType; 15 16 namespace fake_server { 17 18 EntityBuilder::EntityBuilder(ModelType model_type, const string& name) 19 : id_(FakeServerEntity::CreateId(model_type, base::GenerateGUID())), 20 model_type_(model_type), 21 name_(name) { 22 } 23 24 EntityBuilder::~EntityBuilder() { 25 } 26 27 } // namespace fake_server 28