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

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

Issue 282103003: Moved IS_EPHEMERAL flag to extension prefs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix up file header Created 6 years, 7 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
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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/unpacked_installer.h" 5 #include "chrome/browser/extensions/unpacked_installer.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/file_util.h" 10 #include "base/file_util.h"
(...skipping 305 matching lines...) Expand 10 before | Expand all | Expand 10 after
316 } 316 }
317 317
318 PermissionsUpdater perms_updater(service_weak_->profile()); 318 PermissionsUpdater perms_updater(service_weak_->profile());
319 perms_updater.GrantActivePermissions(installer_.extension().get()); 319 perms_updater.GrantActivePermissions(installer_.extension().get());
320 320
321 service_weak_->OnExtensionInstalled( 321 service_weak_->OnExtensionInstalled(
322 installer_.extension().get(), 322 installer_.extension().get(),
323 syncer::StringOrdinal(), 323 syncer::StringOrdinal(),
324 false /* no requirement errors */, 324 false /* no requirement errors */,
325 NOT_BLACKLISTED, 325 NOT_BLACKLISTED,
326 false /* not ephemeral */,
326 false /* don't wait for idle */); 327 false /* don't wait for idle */);
327 } 328 }
328 329
329 } // namespace extensions 330 } // namespace extensions
OLDNEW
« no previous file with comments | « chrome/browser/extensions/test_extension_prefs.cc ('k') | chrome/browser/extensions/webstore_standalone_installer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698