| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 #include "base/linked_ptr.h" | 8 #include "base/linked_ptr.h" |
| 9 #include "chrome/browser/browser_thread.h" | |
| 10 #include "chrome/browser/chromeos/cros/cros_library.h" | 9 #include "chrome/browser/chromeos/cros/cros_library.h" |
| 10 #include "content/browser/browser_thread.h" |
| 11 | 11 |
| 12 namespace chromeos { | 12 namespace chromeos { |
| 13 | 13 |
| 14 class BurnLibraryImpl : public BurnLibrary, | 14 class BurnLibraryImpl : public BurnLibrary, |
| 15 public base::SupportsWeakPtr<BurnLibraryImpl> { | 15 public base::SupportsWeakPtr<BurnLibraryImpl> { |
| 16 public: | 16 public: |
| 17 | 17 |
| 18 BurnLibraryImpl(); | 18 BurnLibraryImpl(); |
| 19 virtual ~BurnLibraryImpl(); | 19 virtual ~BurnLibraryImpl(); |
| 20 | 20 |
| (...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 181 else | 181 else |
| 182 return new BurnLibraryImpl(); | 182 return new BurnLibraryImpl(); |
| 183 } | 183 } |
| 184 | 184 |
| 185 } // namespace chromeos | 185 } // namespace chromeos |
| 186 | 186 |
| 187 // Allows InvokeLater without adding refcounting. This class is a Singleton and | 187 // Allows InvokeLater without adding refcounting. This class is a Singleton and |
| 188 // won't be deleted until it's last InvokeLater is run. | 188 // won't be deleted until it's last InvokeLater is run. |
| 189 DISABLE_RUNNABLE_METHOD_REFCOUNT(chromeos::BurnLibraryImpl); | 189 DISABLE_RUNNABLE_METHOD_REFCOUNT(chromeos::BurnLibraryImpl); |
| 190 | 190 |
| OLD | NEW |