| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include <string> |
| 6 |
| 5 #include "extensions/common/extension_builder.h" | 7 #include "extensions/common/extension_builder.h" |
| 6 | 8 |
| 7 #include "extensions/common/extension.h" | 9 #include "extensions/common/extension.h" |
| 8 | 10 |
| 9 namespace extensions { | 11 namespace extensions { |
| 10 | 12 |
| 11 ExtensionBuilder::ExtensionBuilder() | 13 ExtensionBuilder::ExtensionBuilder() |
| 12 : location_(Manifest::UNPACKED), | 14 : location_(Manifest::UNPACKED), |
| 13 flags_(Extension::NO_FLAGS) { | 15 flags_(Extension::NO_FLAGS) { |
| 14 } | 16 } |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 flags_ |= init_from_value_flags; | 54 flags_ |= init_from_value_flags; |
| 53 return *this; | 55 return *this; |
| 54 } | 56 } |
| 55 | 57 |
| 56 ExtensionBuilder& ExtensionBuilder::SetID(const std::string& id) { | 58 ExtensionBuilder& ExtensionBuilder::SetID(const std::string& id) { |
| 57 id_ = id; | 59 id_ = id; |
| 58 return *this; | 60 return *this; |
| 59 } | 61 } |
| 60 | 62 |
| 61 } // namespace extensions | 63 } // namespace extensions |
| OLD | NEW |