| Index: remoting/ios/data_store.h
|
| diff --git a/remoting/ios/data_store.h b/remoting/ios/data_store.h
|
| deleted file mode 100644
|
| index 0e4a34a0c8a8dbfe896c1e8d906db8b80ba503ca..0000000000000000000000000000000000000000
|
| --- a/remoting/ios/data_store.h
|
| +++ /dev/null
|
| @@ -1,31 +0,0 @@
|
| -// Copyright 2014 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 REMOTING_IOS_DATA_STORE_H_
|
| -#define REMOTING_IOS_DATA_STORE_H_
|
| -
|
| -#import <CoreData/CoreData.h>
|
| -
|
| -#import "remoting/ios/host_preferences.h"
|
| -
|
| -// A local data store backed by SQLLite to hold instances of HostPreferences.
|
| -// HostPreference is defined by the Core Data Model templates see
|
| -// ChromotingModel.xcdatamodel
|
| -@interface DataStore : NSObject
|
| -
|
| -// Static pointer to the managed data store
|
| -+ (DataStore*)sharedStore;
|
| -
|
| -// General methods
|
| -- (BOOL)saveChanges;
|
| -
|
| -// Access methods for Hosts
|
| -- (NSArray*)allHosts;
|
| -- (const HostPreferences*)createHost:(NSString*)hostId;
|
| -- (void)removeHost:(const HostPreferences*)p;
|
| -- (const HostPreferences*)getHostForId:(NSString*)hostId;
|
| -
|
| -@end
|
| -
|
| -#endif // REMOTING_IOS_DATA_STORE_H_
|
|
|