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

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

Issue 5854003: Remove CrOS hack from ppapi.gyp that made the include directories work. This... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years 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 #ifndef CHROME_BROWSER_CHROMEOS_CROS_MOCK_MOUNT_LIBRARY_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_CROS_MOCK_MOUNT_LIBRARY_H_
6 #define CHROME_BROWSER_CHROMEOS_CROS_MOCK_MOUNT_LIBRARY_H_ 6 #define CHROME_BROWSER_CHROMEOS_CROS_MOCK_MOUNT_LIBRARY_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
11 #include "base/observer_list.h" 11 #include "base/observer_list.h"
12 #include "base/time.h" 12 #include "base/time.h"
13 #include "chrome/browser/chromeos/cros/mount_library.h" 13 #include "chrome/browser/chromeos/cros/mount_library.h"
14 #include "cros/chromeos_mount.h"
15 #include "testing/gmock/include/gmock/gmock.h" 14 #include "testing/gmock/include/gmock/gmock.h"
16 #include "testing/gtest/include/gtest/gtest.h" 15 #include "testing/gtest/include/gtest/gtest.h"
16 #include "third_party/cros/chromeos_mount.h"
17 17
18 namespace chromeos { 18 namespace chromeos {
19 19
20 class MockMountLibrary : public MountLibrary { 20 class MockMountLibrary : public MountLibrary {
21 public: 21 public:
22 MockMountLibrary(); 22 MockMountLibrary();
23 virtual ~MockMountLibrary(); 23 virtual ~MockMountLibrary();
24 24
25 MOCK_METHOD1(AddObserver, void(MountLibrary::Observer*)); 25 MOCK_METHOD1(AddObserver, void(MountLibrary::Observer*));
26 MOCK_METHOD1(MountPath, bool(const char*)); 26 MOCK_METHOD1(MountPath, bool(const char*));
(...skipping 16 matching lines...) Expand all
43 43
44 // The list of disks found. 44 // The list of disks found.
45 MountLibrary::DiskVector disks_; 45 MountLibrary::DiskVector disks_;
46 46
47 DISALLOW_COPY_AND_ASSIGN(MockMountLibrary); 47 DISALLOW_COPY_AND_ASSIGN(MockMountLibrary);
48 }; 48 };
49 49
50 } // namespace chromeos 50 } // namespace chromeos
51 51
52 #endif // CHROME_BROWSER_CHROMEOS_CROS_MOCK_MOUNT_LIBRARY_H_ 52 #endif // CHROME_BROWSER_CHROMEOS_CROS_MOCK_MOUNT_LIBRARY_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/cros/login_library.h ('k') | chrome/browser/chromeos/cros/mount_library.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698