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

Side by Side Diff: chrome/browser/chromeos/extensions/install_limiter.cc

Issue 18640003: Updates some includes of chrome_notification_types.h (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 5 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 (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/chromeos/extensions/install_limiter.h" 5 #include "chrome/browser/chromeos/extensions/install_limiter.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/file_util.h" 10 #include "base/file_util.h"
11 #include "base/threading/sequenced_worker_pool.h" 11 #include "base/threading/sequenced_worker_pool.h"
12 #include "chrome/browser/chrome_notification_types.h"
12 #include "chrome/browser/chromeos/extensions/install_limiter_factory.h" 13 #include "chrome/browser/chromeos/extensions/install_limiter_factory.h"
13 #include "chrome/common/chrome_notification_types.h"
14 #include "content/public/browser/browser_thread.h" 14 #include "content/public/browser/browser_thread.h"
15 #include "content/public/browser/notification_details.h" 15 #include "content/public/browser/notification_details.h"
16 #include "content/public/browser/notification_source.h" 16 #include "content/public/browser/notification_source.h"
17 17
18 using content::BrowserThread; 18 using content::BrowserThread;
19 19
20 namespace { 20 namespace {
21 21
22 // Gets the file size of |file| and stores it in |size| on the blocking pool. 22 // Gets the file size of |file| and stores it in |size| on the blocking pool.
23 void GetFileSizeOnBlockingPool(const base::FilePath& file, int64* size) { 23 void GetFileSizeOnBlockingPool(const base::FilePath& file, int64* size) {
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 chrome::NOTIFICATION_CRX_INSTALLER_DONE, 135 chrome::NOTIFICATION_CRX_INSTALLER_DONE,
136 source); 136 source);
137 137
138 const scoped_refptr<CrxInstaller> installer = 138 const scoped_refptr<CrxInstaller> installer =
139 content::Source<extensions::CrxInstaller>(source).ptr(); 139 content::Source<extensions::CrxInstaller>(source).ptr();
140 running_installers_.erase(installer); 140 running_installers_.erase(installer);
141 CheckAndRunDeferrredInstalls(); 141 CheckAndRunDeferrredInstalls();
142 } 142 }
143 143
144 } // namespace extensions 144 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698