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

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

Issue 15981010: Use a direct include of strings headers in chrome/common/, part 1. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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/simple_feature.h" 5 #include "chrome/common/extensions/features/simple_feature.h"
6 6
7 #include <map> 7 #include <map>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/command_line.h" 10 #include "base/command_line.h"
11 #include "base/lazy_instance.h" 11 #include "base/lazy_instance.h"
12 #include "base/sha1.h" 12 #include "base/sha1.h"
13 #include "base/string_util.h"
14 #include "base/stringprintf.h"
15 #include "base/strings/string_number_conversions.h" 13 #include "base/strings/string_number_conversions.h"
14 #include "base/strings/string_util.h"
15 #include "base/strings/stringprintf.h"
16 #include "chrome/common/chrome_switches.h" 16 #include "chrome/common/chrome_switches.h"
17 17
18 using chrome::VersionInfo; 18 using chrome::VersionInfo;
19 19
20 namespace extensions { 20 namespace extensions {
21 21
22 namespace { 22 namespace {
23 23
24 struct Mappings { 24 struct Mappings {
25 Mappings() { 25 Mappings() {
(...skipping 406 matching lines...) Expand 10 before | Expand all | Expand 10 after
432 return false; 432 return false;
433 433
434 if (whitelist_.find(extension_id) != whitelist_.end() || 434 if (whitelist_.find(extension_id) != whitelist_.end() ||
435 whitelist_.find(HashExtensionId(extension_id)) != whitelist_.end()) 435 whitelist_.find(HashExtensionId(extension_id)) != whitelist_.end())
436 return true; 436 return true;
437 437
438 return false; 438 return false;
439 } 439 }
440 440
441 } // namespace extensions 441 } // namespace extensions
OLDNEW
« no previous file with comments | « chrome/common/extensions/features/feature.cc ('k') | chrome/common/extensions/incognito_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698