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

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

Issue 254463004: Cleanup coding style (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase about crx_file.h modified already. (issue: 225493002) Created 6 years, 8 months 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
« no previous file with comments | « extensions/common/extension_api.cc ('k') | extensions/common/extension_messages.h » ('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 <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
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
OLDNEW
« no previous file with comments | « extensions/common/extension_api.cc ('k') | extensions/common/extension_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698