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

Side by Side Diff: chrome/browser/chromeos/cros/burn_library.cc

Issue 8437002: Move BrowserThread to content namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: A few updates. Created 9 years, 1 month 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) 2011 The Chromium Authors. All rights reserved. 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 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/cros/burn_library.h" 5 #include "chrome/browser/chromeos/cros/burn_library.h"
6 6
7 #include <cstring> 7 #include <cstring>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/memory/linked_ptr.h" 10 #include "base/memory/linked_ptr.h"
11 #include "chrome/browser/chromeos/cros/cros_library.h" 11 #include "chrome/browser/chromeos/cros/cros_library.h"
12 #include "chrome/common/zip.h" 12 #include "chrome/common/zip.h"
13 #include "content/public/browser/browser_thread.h" 13 #include "content/public/browser/browser_thread.h"
14 14
15 using content::BrowserThread;
16
15 namespace chromeos { 17 namespace chromeos {
16 18
17 class BurnLibraryImpl : public BurnLibrary, 19 class BurnLibraryImpl : public BurnLibrary,
18 public base::SupportsWeakPtr<BurnLibraryImpl> { 20 public base::SupportsWeakPtr<BurnLibraryImpl> {
19 public: 21 public:
20 BurnLibraryImpl(); 22 BurnLibraryImpl();
21 virtual ~BurnLibraryImpl(); 23 virtual ~BurnLibraryImpl();
22 24
23 // BurnLibrary implementation. 25 // BurnLibrary implementation.
24 virtual void AddObserver(Observer* observer) OVERRIDE; 26 virtual void AddObserver(Observer* observer) OVERRIDE;
(...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after
273 BurnLibrary* impl; 275 BurnLibrary* impl;
274 if (stub) 276 if (stub)
275 impl = new BurnLibraryStubImpl(); 277 impl = new BurnLibraryStubImpl();
276 else 278 else
277 impl = new BurnLibraryImpl(); 279 impl = new BurnLibraryImpl();
278 impl->Init(); 280 impl->Init();
279 return impl; 281 return impl;
280 } 282 }
281 283
282 } // namespace chromeos 284 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/boot_times_loader.cc ('k') | chrome/browser/chromeos/cros/cert_library.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698