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

Side by Side Diff: chrome/browser/chromeos/cros/update_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/update_library.h" 5 #include "chrome/browser/chromeos/cros/update_library.h"
6 6
7 #include "base/basictypes.h" 7 #include "base/basictypes.h"
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/message_loop.h" 10 #include "base/message_loop.h"
11 #include "base/observer_list.h" 11 #include "base/observer_list.h"
12 #include "chrome/browser/chromeos/cros/cros_library.h" 12 #include "chrome/browser/chromeos/cros/cros_library.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 UpdateLibraryImpl : public UpdateLibrary { 19 class UpdateLibraryImpl : public UpdateLibrary {
18 public: 20 public:
19 UpdateLibraryImpl() : status_connection_(NULL) {} 21 UpdateLibraryImpl() : status_connection_(NULL) {}
20 22
21 virtual ~UpdateLibraryImpl() { 23 virtual ~UpdateLibraryImpl() {
22 if (status_connection_) { 24 if (status_connection_) {
23 chromeos::DisconnectUpdateProgress(status_connection_); 25 chromeos::DisconnectUpdateProgress(status_connection_);
24 status_connection_ = NULL; 26 status_connection_ = NULL;
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 UpdateLibrary* impl; 138 UpdateLibrary* impl;
137 if (stub) 139 if (stub)
138 impl = new UpdateLibraryStubImpl(); 140 impl = new UpdateLibraryStubImpl();
139 else 141 else
140 impl = new UpdateLibraryImpl(); 142 impl = new UpdateLibraryImpl();
141 impl->Init(); 143 impl->Init();
142 return impl; 144 return impl;
143 } 145 }
144 146
145 } // namespace chromeos 147 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/cros/screen_lock_library.cc ('k') | chrome/browser/chromeos/customization_document.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698