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 #ifndef EXTENSIONS_COMMON_EXTENSION_BUILDER_H_ | 5 #ifndef EXTENSIONS_COMMON_EXTENSION_BUILDER_H_ |
6 #define EXTENSIONS_COMMON_EXTENSION_BUILDER_H_ | 6 #define EXTENSIONS_COMMON_EXTENSION_BUILDER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/files/file_path.h" | 10 #include "base/files/file_path.h" |
| 11 #include "base/macros.h" |
11 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
12 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
13 #include "extensions/common/manifest.h" | 14 #include "extensions/common/manifest.h" |
14 #include "extensions/common/value_builder.h" | 15 #include "extensions/common/value_builder.h" |
15 | 16 |
16 namespace extensions { | 17 namespace extensions { |
17 class Extension; | 18 class Extension; |
18 | 19 |
19 // An easier way to create extensions than Extension::Create. The | 20 // An easier way to create extensions than Extension::Create. The |
20 // constructor sets up some defaults which are customized using the | 21 // constructor sets up some defaults which are customized using the |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 scoped_ptr<base::DictionaryValue> manifest_; | 59 scoped_ptr<base::DictionaryValue> manifest_; |
59 int flags_; | 60 int flags_; |
60 std::string id_; | 61 std::string id_; |
61 | 62 |
62 DISALLOW_COPY_AND_ASSIGN(ExtensionBuilder); | 63 DISALLOW_COPY_AND_ASSIGN(ExtensionBuilder); |
63 }; | 64 }; |
64 | 65 |
65 } // namespace extensions | 66 } // namespace extensions |
66 | 67 |
67 #endif // EXTENSIONS_COMMON_EXTENSION_BUILDER_H_ | 68 #endif // EXTENSIONS_COMMON_EXTENSION_BUILDER_H_ |
OLD | NEW |