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

Unified Diff: chrome/browser/chromeos/cros/sms_watcher.h

Issue 11756002: Move cros_network_functions.cc to src/chromeos (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Clang fixes Created 7 years, 12 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/cros/sms_watcher.h
diff --git a/chrome/browser/chromeos/cros/sms_watcher.h b/chrome/browser/chromeos/cros/sms_watcher.h
deleted file mode 100644
index c457c115b8acc907a0c112cbf9c6e563947a9a50..0000000000000000000000000000000000000000
--- a/chrome/browser/chromeos/cros/sms_watcher.h
+++ /dev/null
@@ -1,67 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CHROME_BROWSER_CHROMEOS_CROS_SMS_WATCHER_H_
-#define CHROME_BROWSER_CHROMEOS_CROS_SMS_WATCHER_H_
-
-#include <string>
-#include <vector>
-
-#include "base/memory/weak_ptr.h"
-#include "chrome/browser/chromeos/cros/cros_network_functions.h"
-#include "chromeos/dbus/dbus_method_call_status.h"
-#include "dbus/object_path.h"
-
-namespace base {
-
-class DictionaryValue;
-
-} // namespace base
-
-namespace chromeos {
-
-// Class to watch sms without Libcros.
-class SMSWatcher : public CrosNetworkWatcher {
- public:
- // Dictionary key constants.
- static const char kNumberKey[];
- static const char kTextKey[];
- static const char kTimestampKey[];
- static const char kSmscKey[];
- static const char kValidityKey[];
- static const char kClassKey[];
- static const char kIndexKey[];
-
- static const char kModemManager1NumberKey[];
- static const char kModemManager1TextKey[];
- static const char kModemManager1TimestampKey[];
- static const char kModemManager1SmscKey[];
- static const char kModemManager1ValidityKey[];
- static const char kModemManager1ClassKey[];
- static const char kModemManager1IndexKey[];
-
- // Base class of watcher implementation classes. Public to allow
- // derived classes in the anonymous namespace to inherit from it.
- class WatcherBase;
-
- SMSWatcher(const std::string& modem_device_path,
- MonitorSMSCallback callback);
- virtual ~SMSWatcher();
-
- private:
- // Callback for shill device's GetProperties() method.
- void DevicePropertiesCallback(DBusMethodCallStatus call_status,
- const base::DictionaryValue& properties);
-
- base::WeakPtrFactory<SMSWatcher> weak_ptr_factory_;
- std::string device_path_;
- MonitorSMSCallback callback_;
- scoped_ptr<WatcherBase> watcher_;
-
- DISALLOW_COPY_AND_ASSIGN(SMSWatcher);
-};
-
-} // namespace
-
-#endif // CHROME_BROWSER_CHROMEOS_CROS_SMS_WATCHER_H_
« no previous file with comments | « chrome/browser/chromeos/cros/network_library_impl_cros.cc ('k') | chrome/browser/chromeos/cros/sms_watcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698