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

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

Issue 1543053002: Switch to standard integer types in extensions/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@int-extensions-browser
Patch Set: Created 5 years 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
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/features/feature.h" 5 #include "extensions/common/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"
11 #include "base/strings/string_util.h" 11 #include "base/strings/string_util.h"
12 #include "base/strings/stringprintf.h" 12 #include "base/strings/stringprintf.h"
13 #include "build/build_config.h"
13 #include "extensions/common/extension.h" 14 #include "extensions/common/extension.h"
14 #include "extensions/common/manifest.h" 15 #include "extensions/common/manifest.h"
15 16
16 namespace extensions { 17 namespace extensions {
17 18
18 // static 19 // static
19 Feature::Platform Feature::GetCurrentPlatform() { 20 Feature::Platform Feature::GetCurrentPlatform() {
20 #if defined(OS_CHROMEOS) 21 #if defined(OS_CHROMEOS)
21 return CHROMEOS_PLATFORM; 22 return CHROMEOS_PLATFORM;
22 #elif defined(OS_LINUX) 23 #elif defined(OS_LINUX)
(...skipping 20 matching lines...) Expand all
43 Manifest::TYPE_UNKNOWN, 44 Manifest::TYPE_UNKNOWN,
44 Manifest::INVALID_LOCATION, 45 Manifest::INVALID_LOCATION,
45 -1); // manifest_version 46 -1); // manifest_version
46 } 47 }
47 48
48 Feature::Feature() : no_parent_(false) {} 49 Feature::Feature() : no_parent_(false) {}
49 50
50 Feature::~Feature() {} 51 Feature::~Feature() {}
51 52
52 } // namespace extensions 53 } // namespace extensions
OLDNEW
« no previous file with comments | « extensions/common/features/complex_feature.h ('k') | extensions/common/features/feature_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698