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

Unified Diff: components/profile_service/profile_service_impl.h

Issue 1879233002: Move components\profile_service to services\user (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@move3
Patch Set: . Created 4 years, 8 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
« no previous file with comments | « components/profile_service/profile_service.gyp ('k') | components/profile_service/profile_service_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/profile_service/profile_service_impl.h
diff --git a/components/profile_service/profile_service_impl.h b/components/profile_service/profile_service_impl.h
deleted file mode 100644
index 3e8c8e9150b5424a360fd3245fdd1b1077caa564..0000000000000000000000000000000000000000
--- a/components/profile_service/profile_service_impl.h
+++ /dev/null
@@ -1,48 +0,0 @@
-// Copyright 2016 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 COMPONENTS_PROFILE_SERVICE_PROFILE_SERVICE_IMPL_H_
-#define COMPONENTS_PROFILE_SERVICE_PROFILE_SERVICE_IMPL_H_
-
-#include "base/files/file_path.h"
-#include "components/filesystem/public/interfaces/directory.mojom.h"
-#include "components/profile_service/public/interfaces/profile.mojom.h"
-#include "mojo/public/cpp/bindings/interface_request.h"
-#include "mojo/public/cpp/bindings/strong_binding.h"
-#include "services/shell/public/cpp/connection.h"
-
-namespace filesystem {
-class LockTable;
-}
-
-namespace mojo {
-class MessageLoopRef;
-}
-
-namespace profile {
-
-// A service which serves directories to callers.
-class ProfileServiceImpl : public ProfileService {
- public:
- ProfileServiceImpl(const base::FilePath& base_profile_dir,
- const scoped_refptr<filesystem::LockTable>& lock_table);
- ~ProfileServiceImpl() override;
-
- // Overridden from ProfileService:
- void GetDirectory(filesystem::DirectoryRequest request,
- const GetDirectoryCallback& callback) override;
- void GetSubDirectory(const mojo::String& sub_directory_path,
- filesystem::DirectoryRequest request,
- const GetSubDirectoryCallback& callback) override;
-
- private:
- scoped_refptr<filesystem::LockTable> lock_table_;
- base::FilePath path_;
-
- DISALLOW_COPY_AND_ASSIGN(ProfileServiceImpl);
-};
-
-} // namespace profile
-
-#endif // COMPONENTS_PROFILE_SERVICE_PROFILE_SERVICE_IMPL_H_
« no previous file with comments | « components/profile_service/profile_service.gyp ('k') | components/profile_service/profile_service_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698