Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(26)

Side by Side Diff: extensions/common/extension_builder.cc

Issue 15239002: Move Extension and PermissionsData to extensions/common. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « extensions/common/extension_api.cc ('k') | extensions/common/manifest_handler.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 "extensions/common/extension_builder.h" 5 #include "extensions/common/extension_builder.h"
6 6
7 #include "chrome/common/extensions/extension.h" 7 #include "extensions/common/extension.h"
8 8
9 namespace extensions { 9 namespace extensions {
10 10
11 ExtensionBuilder::ExtensionBuilder() 11 ExtensionBuilder::ExtensionBuilder()
12 : location_(Manifest::UNPACKED), 12 : location_(Manifest::UNPACKED),
13 flags_(Extension::NO_FLAGS) { 13 flags_(Extension::NO_FLAGS) {
14 } 14 }
15 ExtensionBuilder::~ExtensionBuilder() {} 15 ExtensionBuilder::~ExtensionBuilder() {}
16 16
17 scoped_refptr<Extension> ExtensionBuilder::Build() { 17 scoped_refptr<Extension> ExtensionBuilder::Build() {
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 flags_ |= init_from_value_flags; 52 flags_ |= init_from_value_flags;
53 return *this; 53 return *this;
54 } 54 }
55 55
56 ExtensionBuilder& ExtensionBuilder::SetID(const std::string& id) { 56 ExtensionBuilder& ExtensionBuilder::SetID(const std::string& id) {
57 id_ = id; 57 id_ = id;
58 return *this; 58 return *this;
59 } 59 }
60 60
61 } // namespace extensions 61 } // namespace extensions
OLDNEW
« no previous file with comments | « extensions/common/extension_api.cc ('k') | extensions/common/manifest_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698