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

Side by Side Diff: chrome/browser/chromeos/dbus/dbus_thread_manager.h

Issue 8400077: chromeos: Rename functions to be PascalCase. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 #ifndef CHROME_BROWSER_CHROMEOS_DBUS_DBUS_THREAD_MANAGER_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_DBUS_DBUS_THREAD_MANAGER_H_
6 #define CHROME_BROWSER_CHROMEOS_DBUS_DBUS_THREAD_MANAGER_H_ 6 #define CHROME_BROWSER_CHROMEOS_DBUS_DBUS_THREAD_MANAGER_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 63
64 // Gets the global instance. Initialize() must be called first. 64 // Gets the global instance. Initialize() must be called first.
65 static DBusThreadManager* Get(); 65 static DBusThreadManager* Get();
66 66
67 // TODO(satorux): Rename the following getters to something like 67 // TODO(satorux): Rename the following getters to something like
68 // GetFooClient() as they are now virtual. 68 // GetFooClient() as they are now virtual.
69 69
70 // Returns the bluetooth adapter client, owned by DBusThreadManager. 70 // Returns the bluetooth adapter client, owned by DBusThreadManager.
71 // Do not cache this pointer and use it after DBusThreadManager is shut 71 // Do not cache this pointer and use it after DBusThreadManager is shut
72 // down. 72 // down.
73 virtual BluetoothAdapterClient* bluetooth_adapter_client() = 0; 73 virtual BluetoothAdapterClient* GetBluetoothAdapterClient() = 0;
74 74
75 // Returns the bluetooth manager client, owned by DBusThreadManager. 75 // Returns the bluetooth manager client, owned by DBusThreadManager.
76 // Do not cache this pointer and use it after DBusThreadManager is shut 76 // Do not cache this pointer and use it after DBusThreadManager is shut
77 // down. 77 // down.
78 virtual BluetoothManagerClient* bluetooth_manager_client() = 0; 78 virtual BluetoothManagerClient* GetBluetoothManagerClient() = 0;
79 79
80 // Returns the power manager client, owned by DBusThreadManager. 80 // Returns the power manager client, owned by DBusThreadManager.
81 // See also comments at session_manager_client(). 81 // See also comments at session_manager_client().
82 virtual PowerManagerClient* power_manager_client() = 0; 82 virtual PowerManagerClient* GetPowerManagerClient() = 0;
83 83
84 // Returns the session manager client, owned by DBusThreadManager. 84 // Returns the session manager client, owned by DBusThreadManager.
85 // Do not cache this pointer and use it after DBusThreadManager is shut 85 // Do not cache this pointer and use it after DBusThreadManager is shut
86 // down. 86 // down.
87 virtual SensorsClient* sensors_client() = 0; 87 virtual SensorsClient* GetSensorsClient() = 0;
88 88
89 // Returns the session manager client, owned by DBusThreadManager. 89 // Returns the session manager client, owned by DBusThreadManager.
90 // Do not cache this pointer and use it after DBusThreadManager is shut 90 // Do not cache this pointer and use it after DBusThreadManager is shut
91 // down. 91 // down.
92 virtual SessionManagerClient* session_manager_client() = 0; 92 virtual SessionManagerClient* GetSessionManagerClient() = 0;
93 93
94 // Returns the speech synthesizer client, owned by DBusThreadManager. 94 // Returns the speech synthesizer client, owned by DBusThreadManager.
95 // Do not cache this pointer and use it after DBusThreadManager is shut 95 // Do not cache this pointer and use it after DBusThreadManager is shut
96 // down. 96 // down.
97 virtual SpeechSynthesizerClient* speech_synthesizer_client() = 0; 97 virtual SpeechSynthesizerClient* GetSpeechSynthesizerClient() = 0;
98 98
99 virtual ~DBusThreadManager(); 99 virtual ~DBusThreadManager();
100 100
101 protected: 101 protected:
102 DBusThreadManager(); 102 DBusThreadManager();
103 103
104 DISALLOW_COPY_AND_ASSIGN(DBusThreadManager); 104 DISALLOW_COPY_AND_ASSIGN(DBusThreadManager);
105 }; 105 };
106 106
107 } // namespace chromeos 107 } // namespace chromeos
108 108
109 #endif // CHROME_BROWSER_CHROMEOS_DBUS_DBUS_THREAD_MANAGER_H_ 109 #endif // CHROME_BROWSER_CHROMEOS_DBUS_DBUS_THREAD_MANAGER_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/chrome_browser_main_chromeos.cc ('k') | chrome/browser/chromeos/dbus/dbus_thread_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698