Home | History | Annotate | Download | only in extensions
      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
      3 // found in the LICENSE file.
      4 
      5 #include "chrome/browser/extensions/pending_extension_info.h"
      6 
      7 PendingExtensionInfo::PendingExtensionInfo(
      8     const GURL& update_url,
      9     ShouldAllowInstallPredicate should_allow_install,
     10     bool is_from_sync,
     11     bool install_silently,
     12     bool enable_on_install,
     13     bool enable_incognito_on_install,
     14     Extension::Location install_source)
     15     : update_url_(update_url),
     16       should_allow_install_(should_allow_install),
     17       is_from_sync_(is_from_sync),
     18       install_silently_(install_silently),
     19       enable_on_install_(enable_on_install),
     20       enable_incognito_on_install_(enable_incognito_on_install),
     21       install_source_(install_source) {}
     22 
     23 PendingExtensionInfo::PendingExtensionInfo()
     24     : update_url_(),
     25       should_allow_install_(NULL),
     26       is_from_sync_(true),
     27       install_silently_(false),
     28       enable_on_install_(false),
     29       enable_incognito_on_install_(false),
     30       install_source_(Extension::INVALID) {}
     31