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

Side by Side Diff: chrome/browser/chromeos/cros/cros_library_loader.h

Issue 1142005: Mocks for all libcros elements (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 9 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
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_CHROMEOS_CROS_CROS_LIBRARY_LOADER_H_
6 #define CHROME_BROWSER_CHROMEOS_CROS_CROS_LIBRARY_LOADER_H_
7
8 #include <string>
9
10 #include "chrome/browser/chromeos/cros/cros_library.h"
11
12 namespace chromeos {
13
14 // Library loads libcros library. It is abstracted behind this interface
15 // so it can be mocked in tests.
16 class LibraryLoader {
17 public:
18 virtual ~LibraryLoader() {}
19 virtual bool Load(std::string* load_error_string) = 0;
20 };
21
22 class CrosLibraryLoader : public LibraryLoader {
23 public:
24 CrosLibraryLoader() {}
25
26 // CrosLibrary::LibraryLoader overrides.
27 virtual bool Load(std::string* load_error_string);
28 };
29
30 } // namespace chromeos
31
32 #endif // CHROME_BROWSER_CHROMEOS_CROS_CROS_LIBRARY_LOADER_H_
33
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/cros/cros_library.cc ('k') | chrome/browser/chromeos/cros/cros_library_loader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698