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

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

Issue 49253005: Fetch extension blacklist states from SafeBrowsing server (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
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/file_util.h" 9 #include "base/file_util.h"
10 #include "base/strings/string_util.h" 10 #include "base/strings/string_util.h"
(...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after
289 return; 289 return;
290 } 290 }
291 291
292 PermissionsUpdater perms_updater(service_weak_->profile()); 292 PermissionsUpdater perms_updater(service_weak_->profile());
293 perms_updater.GrantActivePermissions(installer_.extension().get()); 293 perms_updater.GrantActivePermissions(installer_.extension().get());
294 294
295 service_weak_->OnExtensionInstalled( 295 service_weak_->OnExtensionInstalled(
296 installer_.extension().get(), 296 installer_.extension().get(),
297 syncer::StringOrdinal(), 297 syncer::StringOrdinal(),
298 false /* no requirement errors */, 298 false /* no requirement errors */,
299 Blacklist::NOT_BLACKLISTED, 299 NOT_BLACKLISTED,
300 false /* don't wait for idle */); 300 false /* don't wait for idle */);
301 } 301 }
302 302
303 } // namespace extensions 303 } // namespace extensions
OLDNEW
« no previous file with comments | « chrome/browser/extensions/test_blacklist_state_fetcher.cc ('k') | chrome/browser/safe_browsing/safe_browsing_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698