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

Side by Side Diff: chromeos/dbus/gsm_sms_client.h

Issue 10391170: Add RequestUpdate to NetworkSmsHandler (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address nit Created 8 years, 7 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
« no previous file with comments | « no previous file | chromeos/dbus/gsm_sms_client.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 CHROMEOS_DBUS_GSM_SMS_CLIENT_H_ 5 #ifndef CHROMEOS_DBUS_GSM_SMS_CLIENT_H_
6 #define CHROMEOS_DBUS_GSM_SMS_CLIENT_H_ 6 #define CHROMEOS_DBUS_GSM_SMS_CLIENT_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 virtual void Get(const std::string& service_name, 62 virtual void Get(const std::string& service_name,
63 const dbus::ObjectPath& object_path, 63 const dbus::ObjectPath& object_path,
64 uint32 index, 64 uint32 index,
65 const GetCallback& callback) = 0; 65 const GetCallback& callback) = 0;
66 66
67 // Calls List method. |callback| is called after the method call succeeds. 67 // Calls List method. |callback| is called after the method call succeeds.
68 virtual void List(const std::string& service_name, 68 virtual void List(const std::string& service_name,
69 const dbus::ObjectPath& object_path, 69 const dbus::ObjectPath& object_path,
70 const ListCallback& callback) = 0; 70 const ListCallback& callback) = 0;
71 71
72 // Requests a check for new messages. In flimflam this does nothing. The
73 // stub implementation uses it to generate a sequence of test messages.
74 virtual void RequestUpdate(const std::string& service_name,
75 const dbus::ObjectPath& object_path) = 0;
76
72 protected: 77 protected:
73 // Create() should be used instead. 78 // Create() should be used instead.
74 GsmSMSClient(); 79 GsmSMSClient();
75 80
76 private: 81 private:
77 DISALLOW_COPY_AND_ASSIGN(GsmSMSClient); 82 DISALLOW_COPY_AND_ASSIGN(GsmSMSClient);
78 }; 83 };
79 84
80 } // namespace chromeos 85 } // namespace chromeos
81 86
82 #endif // CHROMEOS_DBUS_GSM_SMS_CLIENT_H_ 87 #endif // CHROMEOS_DBUS_GSM_SMS_CLIENT_H_
OLDNEW
« no previous file with comments | « no previous file | chromeos/dbus/gsm_sms_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698