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

Side by Side Diff: chrome/browser/chromeos/cros/mount_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/mount_library.h" 5 #include "chrome/browser/chromeos/cros/mount_library.h"
6 6
7 #include <set> 7 #include <set>
8 #include <sys/statvfs.h> 8 #include <sys/statvfs.h>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/message_loop.h" 11 #include "base/message_loop.h"
12 #include "base/string_util.h" 12 #include "base/string_util.h"
13 #include "chrome/browser/chromeos/cros/cros_library.h" 13 #include "chrome/browser/chromeos/cros/cros_library.h"
14 #include "content/public/browser/browser_thread.h" 14 #include "content/public/browser/browser_thread.h"
15 15
16 using content::BrowserThread;
17
16 const char* kLibraryNotLoaded = "Cros Library not loaded"; 18 const char* kLibraryNotLoaded = "Cros Library not loaded";
17 const char* kDeviceNotFound = "Device could not be found"; 19 const char* kDeviceNotFound = "Device could not be found";
18 20
19 namespace chromeos { 21 namespace chromeos {
20 22
21 // static 23 // static
22 std::string MountLibrary::MountTypeToString(MountType type) { 24 std::string MountLibrary::MountTypeToString(MountType type) {
23 switch (type) { 25 switch (type) {
24 case MOUNT_TYPE_DEVICE: 26 case MOUNT_TYPE_DEVICE:
25 return "device"; 27 return "device";
(...skipping 812 matching lines...) Expand 10 before | Expand all | Expand 10 after
838 MountLibrary* impl; 840 MountLibrary* impl;
839 if (stub) 841 if (stub)
840 impl = new MountLibraryStubImpl(); 842 impl = new MountLibraryStubImpl();
841 else 843 else
842 impl = new MountLibraryImpl(); 844 impl = new MountLibraryImpl();
843 impl->Init(); 845 impl->Init();
844 return impl; 846 return impl;
845 } 847 }
846 848
847 } // namespace chromeos 849 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/cros/mock_mount_library.cc ('k') | chrome/browser/chromeos/cros/network_library.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698