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

Side by Side Diff: chrome/common/extensions/extension_constants.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
« no previous file with comments | « chrome/common/extensions/extension.cc ('k') | chrome/common/extensions/extension_file_util.cc » ('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 (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/extension_constants.h" 5 #include "chrome/common/extensions/extension_constants.h"
6 #include "chrome/common/extensions/extension_manifest_constants.h" 6 #include "chrome/common/extensions/extension_manifest_constants.h"
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/command_line.h" 10 #include "base/command_line.h"
11 #include "base/string_util.h" 11 #include "base/strings/string_util.h"
12 #include "chrome/common/chrome_switches.h" 12 #include "chrome/common/chrome_switches.h"
13 #include "net/base/escape.h" 13 #include "net/base/escape.h"
14 #include "net/base/url_util.h" 14 #include "net/base/url_util.h"
15 15
16 namespace extension_urls { 16 namespace extension_urls {
17 17
18 std::string GetWebstoreLaunchURL() { 18 std::string GetWebstoreLaunchURL() {
19 std::string gallery_prefix = kGalleryBrowsePrefix; 19 std::string gallery_prefix = kGalleryBrowsePrefix;
20 if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kAppsGalleryURL)) 20 if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kAppsGalleryURL))
21 gallery_prefix = CommandLine::ForCurrentProcess()->GetSwitchValueASCII( 21 gallery_prefix = CommandLine::ForCurrentProcess()->GetSwitchValueASCII(
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 182
183 const int kScriptBadgeIconSizes[] = { 183 const int kScriptBadgeIconSizes[] = {
184 EXTENSION_ICON_BITTY, // 16 184 EXTENSION_ICON_BITTY, // 16
185 2 * EXTENSION_ICON_BITTY // 32 185 2 * EXTENSION_ICON_BITTY // 32
186 }; 186 };
187 187
188 const size_t kNumScriptBadgeIconSizes = 188 const size_t kNumScriptBadgeIconSizes =
189 arraysize(kScriptBadgeIconSizes); 189 arraysize(kScriptBadgeIconSizes);
190 190
191 } // namespace extension_misc 191 } // namespace extension_misc
OLDNEW
« no previous file with comments | « chrome/common/extensions/extension.cc ('k') | chrome/common/extensions/extension_file_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698