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

Side by Side Diff: extensions/common/manifest.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 4 years, 12 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/manifest.h ('k') | extensions/common/manifest_constants.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 "extensions/common/manifest.h" 5 #include "extensions/common/manifest.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/basictypes.h"
10 #include "base/lazy_instance.h" 9 #include "base/lazy_instance.h"
11 #include "base/logging.h" 10 #include "base/logging.h"
12 #include "base/strings/string_split.h" 11 #include "base/strings/string_split.h"
13 #include "base/strings/stringprintf.h" 12 #include "base/strings/stringprintf.h"
14 #include "base/strings/utf_string_conversions.h" 13 #include "base/strings/utf_string_conversions.h"
15 #include "extensions/common/error_utils.h" 14 #include "extensions/common/error_utils.h"
16 #include "extensions/common/features/feature.h" 15 #include "extensions/common/features/feature.h"
17 #include "extensions/common/features/feature_provider.h" 16 #include "extensions/common/features/feature_provider.h"
18 #include "extensions/common/install_warning.h" 17 #include "extensions/common/install_warning.h"
19 #include "extensions/common/manifest_constants.h" 18 #include "extensions/common/manifest_constants.h"
(...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after
255 Feature* feature = FeatureProvider::GetManifestFeatures()->GetFeature(key); 254 Feature* feature = FeatureProvider::GetManifestFeatures()->GetFeature(key);
256 if (!feature) 255 if (!feature)
257 return true; 256 return true;
258 257
259 return feature->IsAvailableToManifest( 258 return feature->IsAvailableToManifest(
260 extension_id_, type_, location_, GetManifestVersion()) 259 extension_id_, type_, location_, GetManifestVersion())
261 .is_available(); 260 .is_available();
262 } 261 }
263 262
264 } // namespace extensions 263 } // namespace extensions
OLDNEW
« no previous file with comments | « extensions/common/manifest.h ('k') | extensions/common/manifest_constants.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698