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

Side by Side Diff: chrome/common/extensions/extension_constants.cc

Issue 8404007: Delete code for and references to mini-gallery and theme install bubbles. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: > Created 9 years, 1 month 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_constants.h ('k') | chrome/test/base/test_browser_window.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 (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/string_util.h" 10 #include "base/string_util.h"
(...skipping 443 matching lines...) Expand 10 before | Expand all | Expand 10 after
454 454
455 GURL GetWebstoreUpdateUrl(bool secure) { 455 GURL GetWebstoreUpdateUrl(bool secure) {
456 CommandLine* cmdline = CommandLine::ForCurrentProcess(); 456 CommandLine* cmdline = CommandLine::ForCurrentProcess();
457 if (cmdline->HasSwitch(switches::kAppsGalleryUpdateURL)) 457 if (cmdline->HasSwitch(switches::kAppsGalleryUpdateURL))
458 return GURL(cmdline->GetSwitchValueASCII(switches::kAppsGalleryUpdateURL)); 458 return GURL(cmdline->GetSwitchValueASCII(switches::kAppsGalleryUpdateURL));
459 else 459 else
460 return GURL(secure ? kGalleryUpdateHttpsUrl : kGalleryUpdateHttpUrl); 460 return GURL(secure ? kGalleryUpdateHttpsUrl : kGalleryUpdateHttpUrl);
461 } 461 }
462 462
463 const char* kGalleryBrowsePrefix = "https://chrome.google.com/webstore"; 463 const char* kGalleryBrowsePrefix = "https://chrome.google.com/webstore";
464 const char* kMiniGalleryBrowsePrefix = "https://tools.google.com/chrome/";
465 const char* kMiniGalleryDownloadPrefix = "https://dl-ssl.google.com/chrome/";
466 } 464 }
467 465
468 namespace extension_filenames { 466 namespace extension_filenames {
469 const char* kTempExtensionName = "CRX_INSTALL"; 467 const char* kTempExtensionName = "CRX_INSTALL";
470 468
471 // The file to write our decoded images to, relative to the extension_path. 469 // The file to write our decoded images to, relative to the extension_path.
472 const char* kDecodedImagesFilename = "DECODED_IMAGES"; 470 const char* kDecodedImagesFilename = "DECODED_IMAGES";
473 471
474 // The file to write our decoded message catalogs to, relative to the 472 // The file to write our decoded message catalogs to, relative to the
475 // extension_path. 473 // extension_path.
476 const char* kDecodedMessageCatalogsFilename = "DECODED_MESSAGE_CATALOGS"; 474 const char* kDecodedMessageCatalogsFilename = "DECODED_MESSAGE_CATALOGS";
477 } 475 }
478 476
479 namespace extension_misc { 477 namespace extension_misc {
480 const char* kBookmarkManagerId = "eemcgdkfndhakfknompkggombfjjjeno"; 478 const char* kBookmarkManagerId = "eemcgdkfndhakfknompkggombfjjjeno";
481 const char* kWebStoreAppId = "ahfgeienlihckogmohjhadlkjgocpleb"; 479 const char* kWebStoreAppId = "ahfgeienlihckogmohjhadlkjgocpleb";
482 const char* kCloudPrintAppId = "mfehgcgbbipciphmccgaenjidiccnmng"; 480 const char* kCloudPrintAppId = "mfehgcgbbipciphmccgaenjidiccnmng";
483 const char* kAppsPromoHistogram = "Extensions.AppsPromo"; 481 const char* kAppsPromoHistogram = "Extensions.AppsPromo";
484 const char* kAppLaunchHistogram = "Extensions.AppLaunch"; 482 const char* kAppLaunchHistogram = "Extensions.AppLaunch";
485 #if defined(OS_CHROMEOS) 483 #if defined(OS_CHROMEOS)
486 const char* kAccessExtensionPath = 484 const char* kAccessExtensionPath =
487 "/usr/share/chromeos-assets/accessibility/extensions"; 485 "/usr/share/chromeos-assets/accessibility/extensions";
488 const char* kChromeVoxDirectoryName = "access_chromevox"; 486 const char* kChromeVoxDirectoryName = "access_chromevox";
489 #endif 487 #endif
490 488
491 } 489 }
OLDNEW
« no previous file with comments | « chrome/common/extensions/extension_constants.h ('k') | chrome/test/base/test_browser_window.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698