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

Side by Side Diff: chrome/common/extensions/features/feature.cc

Issue 15091002: Lazily load API schemas from resource files and convert all APIs to features (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix chromeos tests Created 7 years, 6 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "chrome/common/extensions/features/feature.h" 5 #include "chrome/common/extensions/features/feature.h"
6 6
7 #include <map> 7 #include <map>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/lazy_instance.h" 10 #include "base/lazy_instance.h"
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 chrome::VersionInfo::Channel Feature::GetDefaultChannel() { 54 chrome::VersionInfo::Channel Feature::GetDefaultChannel() {
55 return kDefaultChannel; 55 return kDefaultChannel;
56 } 56 }
57 57
58 // static 58 // static
59 Feature::Availability Feature::CreateAvailability(AvailabilityResult result, 59 Feature::Availability Feature::CreateAvailability(AvailabilityResult result,
60 const std::string& message) { 60 const std::string& message) {
61 return Availability(result, message); 61 return Availability(result, message);
62 } 62 }
63 63
64 Feature::Feature() {} 64 Feature::Feature() : no_parent_(false) {}
65 65
66 Feature::~Feature() {} 66 Feature::~Feature() {}
67 67
68 } // namespace extensions 68 } // namespace extensions
OLDNEW
« no previous file with comments | « chrome/common/extensions/features/feature.h ('k') | chrome/common/extensions/features/feature_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698