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

Side by Side Diff: chrome/browser/component_updater/component_updater_resource_throttle.cc

Issue 449643002: Componentize component_updater: Move over a bunch of files to the component. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix DEPS order Created 6 years, 4 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/component_updater/component_updater_resource_throttle.h " 5 #include "chrome/browser/component_updater/component_updater_resource_throttle.h "
6 6
7 #include "base/location.h" 7 #include "base/location.h"
8 #include "base/memory/weak_ptr.h" 8 #include "base/memory/weak_ptr.h"
9 #include "chrome/browser/component_updater/component_updater_service.h" 9 #include "components/component_updater/component_updater_service.h"
10 #include "content/public/browser/browser_thread.h" 10 #include "content/public/browser/browser_thread.h"
11 #include "content/public/browser/resource_controller.h" 11 #include "content/public/browser/resource_controller.h"
12 #include "content/public/browser/resource_throttle.h" 12 #include "content/public/browser/resource_throttle.h"
13 13
14 using content::BrowserThread; 14 using content::BrowserThread;
15 15
16 namespace component_updater { 16 namespace component_updater {
17 17
18 namespace { 18 namespace {
19 19
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 BrowserThread::UI, 99 BrowserThread::UI,
100 FROM_HERE, 100 FROM_HERE,
101 base::Bind(&ComponentUpdateService::MaybeThrottle, 101 base::Bind(&ComponentUpdateService::MaybeThrottle,
102 base::Unretained(cus), 102 base::Unretained(cus),
103 crx_id, 103 crx_id,
104 base::Bind(&UnblockThrottleOnUIThread, rt->AsWeakPtr()))); 104 base::Bind(&UnblockThrottleOnUIThread, rt->AsWeakPtr())));
105 return rt; 105 return rt;
106 } 106 }
107 107
108 } // namespace component_updater 108 } // namespace component_updater
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698