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

Side by Side Diff: chrome/browser/extensions/webstore_inline_installer.cc

Issue 16744004: Use a direct include of strings headers in chrome/browser/extensions/, part 4. (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/browser/extensions/webstore_inline_installer.h" 5 #include "chrome/browser/extensions/webstore_inline_installer.h"
6 6
7 #include "base/stringprintf.h" 7 #include "base/strings/stringprintf.h"
8 #include "chrome/browser/profiles/profile.h" 8 #include "chrome/browser/profiles/profile.h"
9 #include "content/public/browser/web_contents.h" 9 #include "content/public/browser/web_contents.h"
10 10
11 using content::WebContents; 11 using content::WebContents;
12 12
13 namespace extensions { 13 namespace extensions {
14 14
15 const char kVerifiedSiteKey[] = "verified_site"; 15 const char kVerifiedSiteKey[] = "verified_site";
16 const char kVerifiedSitesKey[] = "verified_sites"; 16 const char kVerifiedSitesKey[] = "verified_sites";
17 const char kInlineInstallNotSupportedKey[] = "inline_install_not_supported"; 17 const char kInlineInstallNotSupportedKey[] = "inline_install_not_supported";
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
207 DLOG(WARNING) << "Could not parse " << verified_site_pattern_spec << 207 DLOG(WARNING) << "Could not parse " << verified_site_pattern_spec <<
208 " as URL pattern " << parse_result; 208 " as URL pattern " << parse_result;
209 return false; 209 return false;
210 } 210 }
211 verified_site_pattern.SetScheme("*"); 211 verified_site_pattern.SetScheme("*");
212 212
213 return verified_site_pattern.MatchesURL(requestor_url); 213 return verified_site_pattern.MatchesURL(requestor_url);
214 } 214 }
215 215
216 } // namespace extensions 216 } // namespace extensions
OLDNEW
« no previous file with comments | « chrome/browser/extensions/web_view_browsertest.cc ('k') | chrome/browser/extensions/webstore_installer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698