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

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

Issue 3402010: Google codestyle prescribes sorting #include filenames within a section.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 3 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) 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/chrome_thread.h"
9 #include "chrome/browser/chromeos/cros/cros_library.h" 10 #include "chrome/browser/chromeos/cros/cros_library.h"
10 #include "chrome/browser/chrome_thread.h"
11 11
12 namespace chromeos { 12 namespace chromeos {
13 13
14 BurnLibraryImpl::BurnLibraryImpl() { 14 BurnLibraryImpl::BurnLibraryImpl() {
15 if (CrosLibrary::Get()->EnsureLoaded()) { 15 if (CrosLibrary::Get()->EnsureLoaded()) {
16 Init(); 16 Init();
17 } else { 17 } else {
18 LOG(ERROR) << "Cros Library has not been loaded"; 18 LOG(ERROR) << "Cros Library has not been loaded";
19 } 19 }
20 } 20 }
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 else 133 else
134 return new BurnLibraryImpl(); 134 return new BurnLibraryImpl();
135 } 135 }
136 136
137 } // namespace chromeos 137 } // namespace chromeos
138 138
139 // Allows InvokeLater without adding refcounting. This class is a Singleton and 139 // Allows InvokeLater without adding refcounting. This class is a Singleton and
140 // won't be deleted until it's last InvokeLater is run. 140 // won't be deleted until it's last InvokeLater is run.
141 DISABLE_RUNNABLE_METHOD_REFCOUNT(chromeos::BurnLibraryImpl); 141 DISABLE_RUNNABLE_METHOD_REFCOUNT(chromeos::BurnLibraryImpl);
142 142
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/cros/burn_library.h ('k') | chrome/browser/chromeos/cros/cros_library.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698