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

Unified Diff: chrome/browser/sync/glue/local_device_info_provider_impl.h

Issue 401433003: Revert of Sync: Refactoring of DEVICE_INFO syncable type - Part 1 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 5 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/sync/glue/local_device_info_provider_impl.h
diff --git a/chrome/browser/sync/glue/local_device_info_provider_impl.h b/chrome/browser/sync/glue/local_device_info_provider_impl.h
deleted file mode 100644
index 52e0f53ad0be19298a0ae42fffa7417916891ba4..0000000000000000000000000000000000000000
--- a/chrome/browser/sync/glue/local_device_info_provider_impl.h
+++ /dev/null
@@ -1,39 +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 CHROME_BROWSER_SYNC_GLUE_LOCAL_DEVICE_INFO_PROVIDER_IMPL_H_
-#define CHROME_BROWSER_SYNC_GLUE_LOCAL_DEVICE_INFO_PROVIDER_IMPL_H_
-
-#include "base/memory/weak_ptr.h"
-#include "chrome/browser/sync/glue/device_info.h"
-#include "chrome/browser/sync/glue/local_device_info_provider.h"
-
-namespace browser_sync {
-
-class LocalDeviceInfoProviderImpl : public LocalDeviceInfoProvider {
- public:
- LocalDeviceInfoProviderImpl();
- virtual ~LocalDeviceInfoProviderImpl();
-
- // LocalDeviceInfoProvider implementation.
- virtual const DeviceInfo* GetLocalDeviceInfo() const OVERRIDE;
- virtual std::string GetLocalSyncCacheGUID() const OVERRIDE;
- virtual void Initialize(const std::string& cache_guid) OVERRIDE;
- virtual scoped_ptr<Subscription> RegisterOnInitializedCallback(
- const base::Closure& callback) OVERRIDE;
-
- private:
- void InitializeContinuation(const DeviceInfo& local_info);
-
- std::string cache_guid_;
- scoped_ptr<DeviceInfo> local_device_info_;
- base::CallbackList<void(void)> callback_list_;
- base::WeakPtrFactory<LocalDeviceInfoProviderImpl> weak_factory_;
-
- DISALLOW_COPY_AND_ASSIGN(LocalDeviceInfoProviderImpl);
-};
-
-} // namespace browser_sync
-
-#endif // CHROME_BROWSER_SYNC_GLUE_LOCAL_DEVICE_INFO_PROVIDER_IMPL_H_
« no previous file with comments | « chrome/browser/sync/glue/local_device_info_provider.h ('k') | chrome/browser/sync/glue/local_device_info_provider_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698