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/matcher/url_matcher_factory.cc

Issue 16632010: Use a direct include of strings headers in extensions/, google_apis/, gpu/. (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 "extensions/common/matcher/url_matcher_factory.h" 5 #include "extensions/common/matcher/url_matcher_factory.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <cctype> 8 #include <cctype>
9 9
10 #include "base/lazy_instance.h" 10 #include "base/lazy_instance.h"
11 #include "base/logging.h" 11 #include "base/logging.h"
12 #include "base/stringprintf.h" 12 #include "base/strings/stringprintf.h"
13 #include "base/values.h" 13 #include "base/values.h"
14 #include "extensions/common/error_utils.h" 14 #include "extensions/common/error_utils.h"
15 #include "extensions/common/matcher/url_matcher_constants.h" 15 #include "extensions/common/matcher/url_matcher_constants.h"
16 #include "extensions/common/matcher/url_matcher_helpers.h" 16 #include "extensions/common/matcher/url_matcher_helpers.h"
17 #include "third_party/re2/re2/re2.h" 17 #include "third_party/re2/re2/re2.h"
18 18
19 namespace helpers = extensions::url_matcher_helpers; 19 namespace helpers = extensions::url_matcher_helpers;
20 namespace keys = extensions::url_matcher_constants; 20 namespace keys = extensions::url_matcher_constants;
21 21
22 namespace { 22 namespace {
(...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after
268 } else { 268 } else {
269 *error = kInvalidPortRanges; 269 *error = kInvalidPortRanges;
270 return scoped_ptr<URLMatcherPortFilter>(NULL); 270 return scoped_ptr<URLMatcherPortFilter>(NULL);
271 } 271 }
272 } 272 }
273 273
274 return scoped_ptr<URLMatcherPortFilter>(new URLMatcherPortFilter(ranges)); 274 return scoped_ptr<URLMatcherPortFilter>(new URLMatcherPortFilter(ranges));
275 } 275 }
276 276
277 } // namespace extensions 277 } // namespace extensions
OLDNEW
« no previous file with comments | « extensions/common/matcher/regex_set_matcher.cc ('k') | extensions/common/matcher/url_matcher_factory_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698