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

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

Issue 113233005: Allow ExternalRegistryLoader to download packages from an update URL. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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 | « no previous file | no next file » | 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/browser/extensions/external_provider_impl.h" 5 #include "chrome/browser/extensions/external_provider_impl.h"
6 6
7 #include <set> 7 #include <set>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/command_line.h" 10 #include "base/command_line.h"
(...skipping 477 matching lines...) Expand 10 before | Expand all | Expand 10 after
488 #endif 488 #endif
489 489
490 #if defined(OS_WIN) 490 #if defined(OS_WIN)
491 provider_list->push_back( 491 provider_list->push_back(
492 linked_ptr<ExternalProviderInterface>( 492 linked_ptr<ExternalProviderInterface>(
493 new ExternalProviderImpl( 493 new ExternalProviderImpl(
494 service, 494 service,
495 new ExternalRegistryLoader, 495 new ExternalRegistryLoader,
496 profile, 496 profile,
497 Manifest::EXTERNAL_REGISTRY, 497 Manifest::EXTERNAL_REGISTRY,
498 Manifest::INVALID_LOCATION, 498 Manifest::EXTERNAL_PREF_DOWNLOAD,
499 Extension::NO_FLAGS))); 499 Extension::NO_FLAGS)));
500 #endif 500 #endif
501 501
502 #if !defined(OS_CHROMEOS) 502 #if !defined(OS_CHROMEOS)
503 // The default apps are installed as INTERNAL but use the external 503 // The default apps are installed as INTERNAL but use the external
504 // extension installer codeflow. 504 // extension installer codeflow.
505 provider_list->push_back( 505 provider_list->push_back(
506 linked_ptr<ExternalProviderInterface>( 506 linked_ptr<ExternalProviderInterface>(
507 new default_apps::Provider( 507 new default_apps::Provider(
508 profile, 508 profile,
(...skipping 12 matching lines...) Expand all
521 service, 521 service,
522 new ExternalComponentLoader(profile), 522 new ExternalComponentLoader(profile),
523 profile, 523 profile,
524 Manifest::INVALID_LOCATION, 524 Manifest::INVALID_LOCATION,
525 Manifest::EXTERNAL_COMPONENT, 525 Manifest::EXTERNAL_COMPONENT,
526 Extension::FROM_WEBSTORE | Extension::WAS_INSTALLED_BY_DEFAULT))); 526 Extension::FROM_WEBSTORE | Extension::WAS_INSTALLED_BY_DEFAULT)));
527 } 527 }
528 } 528 }
529 529
530 } // namespace extensions 530 } // namespace extensions
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698