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

Side by Side Diff: chrome/browser/chromeos/cros/login_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_LOGIN_LIBRARY_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_CROS_LOGIN_LIBRARY_H_
6 #define CHROME_BROWSER_CHROMEOS_CROS_LOGIN_LIBRARY_H_ 6 #define CHROME_BROWSER_CHROMEOS_CROS_LOGIN_LIBRARY_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
11 #include "base/singleton.h" 11 #include "base/singleton.h"
12 #include "cros/chromeos_login.h" 12 #include "third_party/cros/chromeos_login.h"
13 13
14 namespace chromeos { 14 namespace chromeos {
15 15
16 // This interface defines the interaction with the ChromeOS login library APIs. 16 // This interface defines the interaction with the ChromeOS login library APIs.
17 class LoginLibrary { 17 class LoginLibrary {
18 public: 18 public:
19 class Delegate { 19 class Delegate {
20 public: 20 public:
21 virtual void OnComplete(bool value) = 0; 21 virtual void OnComplete(bool value) = 0;
22 }; 22 };
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 virtual bool RestartJob(int pid, const std::string& command_line) = 0; 102 virtual bool RestartJob(int pid, const std::string& command_line) = 0;
103 103
104 // Factory function, creates a new instance and returns ownership. 104 // Factory function, creates a new instance and returns ownership.
105 // For normal usage, access the singleton via CrosLibrary::Get(). 105 // For normal usage, access the singleton via CrosLibrary::Get().
106 static LoginLibrary* GetImpl(bool stub); 106 static LoginLibrary* GetImpl(bool stub);
107 }; 107 };
108 108
109 } // namespace chromeos 109 } // namespace chromeos
110 110
111 #endif // CHROME_BROWSER_CHROMEOS_CROS_LOGIN_LIBRARY_H_ 111 #endif // CHROME_BROWSER_CHROMEOS_CROS_LOGIN_LIBRARY_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/cros/keyboard_library.cc ('k') | chrome/browser/chromeos/cros/mock_mount_library.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698