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

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

Issue 3020066: Initialize use_stub_impl_ in cros_library.cc (Closed)
Patch Set: Created 10 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/cros_library.h" 5 #include "chrome/browser/chromeos/cros/cros_library.h"
6 6
7 #include "chrome/browser/chromeos/cros/cros_library_loader.h" 7 #include "chrome/browser/chromeos/cros/cros_library_loader.h"
8 #include "chrome/browser/chromeos/cros/cryptohome_library.h" 8 #include "chrome/browser/chromeos/cros/cryptohome_library.h"
9 #include "chrome/browser/chromeos/cros/input_method_library.h" 9 #include "chrome/browser/chromeos/cros/input_method_library.h"
10 #include "chrome/browser/chromeos/cros/keyboard_library.h" 10 #include "chrome/browser/chromeos/cros/keyboard_library.h"
11 #include "chrome/browser/chromeos/cros/login_library.h" 11 #include "chrome/browser/chromeos/cros/login_library.h"
12 #include "chrome/browser/chromeos/cros/mount_library.h" 12 #include "chrome/browser/chromeos/cros/mount_library.h"
13 #include "chrome/browser/chromeos/cros/network_library.h" 13 #include "chrome/browser/chromeos/cros/network_library.h"
14 #include "chrome/browser/chromeos/cros/power_library.h" 14 #include "chrome/browser/chromeos/cros/power_library.h"
15 #include "chrome/browser/chromeos/cros/screen_lock_library.h" 15 #include "chrome/browser/chromeos/cros/screen_lock_library.h"
16 #include "chrome/browser/chromeos/cros/speech_synthesis_library.h" 16 #include "chrome/browser/chromeos/cros/speech_synthesis_library.h"
17 #include "chrome/browser/chromeos/cros/synaptics_library.h" 17 #include "chrome/browser/chromeos/cros/synaptics_library.h"
18 #include "chrome/browser/chromeos/cros/syslogs_library.h" 18 #include "chrome/browser/chromeos/cros/syslogs_library.h"
19 #include "chrome/browser/chromeos/cros/system_library.h" 19 #include "chrome/browser/chromeos/cros/system_library.h"
20 #include "chrome/browser/chromeos/cros/update_library.h" 20 #include "chrome/browser/chromeos/cros/update_library.h"
21 21
22 namespace chromeos { 22 namespace chromeos {
23 23
24 CrosLibrary::CrosLibrary() : library_loader_(NULL), 24 CrosLibrary::CrosLibrary() : library_loader_(NULL),
25 use_stub_impl_(false),
25 loaded_(false), 26 loaded_(false),
26 load_error_(false), 27 load_error_(false),
27 test_api_(NULL) { 28 test_api_(NULL) {
28 } 29 }
29 30
30 CrosLibrary::~CrosLibrary() { 31 CrosLibrary::~CrosLibrary() {
31 if (own_library_loader_) 32 if (own_library_loader_)
32 delete library_loader_; 33 delete library_loader_;
33 } 34 }
34 35
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
184 SystemLibrary* library, bool own) { 185 SystemLibrary* library, bool own) {
185 library_->system_lib_.SetImpl(library, own); 186 library_->system_lib_.SetImpl(library, own);
186 } 187 }
187 188
188 void CrosLibrary::TestApi::SetUpdateLibrary( 189 void CrosLibrary::TestApi::SetUpdateLibrary(
189 UpdateLibrary* library, bool own) { 190 UpdateLibrary* library, bool own) {
190 library_->update_lib_.SetImpl(library, own); 191 library_->update_lib_.SetImpl(library, own);
191 } 192 }
192 193
193 } // namespace chromeos 194 } // namespace chromeos
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698