| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2004 The WebRTC Project Authors. All rights reserved. | 2 * Copyright 2004 The WebRTC Project Authors. All rights reserved. |
| 3 * | 3 * |
| 4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
| 5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
| 6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
| 7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
| 8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
| 9 */ | 9 */ |
| 10 | 10 |
| 11 #ifndef _xmlbuilder_h_ | 11 #ifndef _xmlbuilder_h_ |
| 12 #define _xmlbuilder_h_ | 12 #define _xmlbuilder_h_ |
| 13 | 13 |
| 14 #include <string> | 14 #include <string> |
| 15 #include <vector> | 15 #include <vector> |
| 16 #include "webrtc/libjingle/xmllite/xmlparser.h" | 16 #include "webrtc/libjingle/xmllite/xmlparser.h" |
| 17 #include "webrtc/base/scoped_ptr.h" | 17 #include "webrtc/base/scoped_ptr.h" |
| 18 | 18 |
| 19 #ifdef EXPAT_RELATIVE_PATH |
| 19 #include "expat.h" | 20 #include "expat.h" |
| 21 #else |
| 22 #include "third_party/expat/v2_0_1/Source/lib/expat.h" |
| 23 #endif // EXPAT_RELATIVE_PATH |
| 20 | 24 |
| 21 namespace buzz { | 25 namespace buzz { |
| 22 | 26 |
| 23 class XmlElement; | 27 class XmlElement; |
| 24 class XmlParseContext; | 28 class XmlParseContext; |
| 25 | 29 |
| 26 | 30 |
| 27 class XmlBuilder : public XmlParseHandler { | 31 class XmlBuilder : public XmlParseHandler { |
| 28 public: | 32 public: |
| 29 XmlBuilder(); | 33 XmlBuilder(); |
| (...skipping 18 matching lines...) Expand all Loading... |
| 48 | 52 |
| 49 private: | 53 private: |
| 50 XmlElement * pelCurrent_; | 54 XmlElement * pelCurrent_; |
| 51 rtc::scoped_ptr<XmlElement> pelRoot_; | 55 rtc::scoped_ptr<XmlElement> pelRoot_; |
| 52 rtc::scoped_ptr<std::vector<XmlElement*> > pvParents_; | 56 rtc::scoped_ptr<std::vector<XmlElement*> > pvParents_; |
| 53 }; | 57 }; |
| 54 | 58 |
| 55 } | 59 } |
| 56 | 60 |
| 57 #endif | 61 #endif |
| OLD | NEW |