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

Unified Diff: chromeos/cryptohome/async_method_caller.h

Issue 10878061: chromeos: Move src/chrome/browser/chromeos/cryptohome to src/chromeos (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 4 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 | « chromeos/chromeos.gyp ('k') | chromeos/cryptohome/async_method_caller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/cryptohome/async_method_caller.h
diff --git a/chrome/browser/chromeos/cryptohome/async_method_caller.h b/chromeos/cryptohome/async_method_caller.h
similarity index 92%
rename from chrome/browser/chromeos/cryptohome/async_method_caller.h
rename to chromeos/cryptohome/async_method_caller.h
index da7b2e2981d3e34a3735893cc09b493fb13214f6..e1e54bb44ed400cdf769d41b3fb63530e55df15c 100644
--- a/chrome/browser/chromeos/cryptohome/async_method_caller.h
+++ b/chromeos/cryptohome/async_method_caller.h
@@ -2,12 +2,13 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_BROWSER_CHROMEOS_CRYPTOHOME_ASYNC_METHOD_CALLER_H_
-#define CHROME_BROWSER_CHROMEOS_CRYPTOHOME_ASYNC_METHOD_CALLER_H_
+#ifndef CHROMEOS_CRYPTOHOME_ASYNC_METHOD_CALLER_H_
+#define CHROMEOS_CRYPTOHOME_ASYNC_METHOD_CALLER_H_
#include <string>
-#include "base/callback.h"
+#include "base/callback_forward.h"
+#include "chromeos/chromeos_export.h"
#include "third_party/cros_system_api/dbus/service_constants.h"
namespace cryptohome {
@@ -17,7 +18,7 @@ namespace cryptohome {
// since there is already a namespace ::cryptohome which holds the error code
// enum (MountError) and referencing ::chromeos::cryptohome and ::cryptohome
// within the same code is confusing.
-class AsyncMethodCaller {
+class CHROMEOS_EXPORT AsyncMethodCaller {
public:
// A callback type which is called back on the UI thread when the results of
// method calls are ready.
@@ -83,4 +84,4 @@ class AsyncMethodCaller {
} // namespace cryptohome
-#endif // CHROME_BROWSER_CHROMEOS_CRYPTOHOME_ASYNC_METHOD_CALLER_H_
+#endif // CHROMEOS_CRYPTOHOME_ASYNC_METHOD_CALLER_H_
« no previous file with comments | « chromeos/chromeos.gyp ('k') | chromeos/cryptohome/async_method_caller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698