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

Unified Diff: chrome/browser/extensions/api/record/record_api.h

Issue 10696144: Moving record API to api/record/ . (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 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/extensions/api/record/record_api.h
diff --git a/chrome/browser/extensions/extension_record_api.h b/chrome/browser/extensions/api/record/record_api.h
similarity index 95%
rename from chrome/browser/extensions/extension_record_api.h
rename to chrome/browser/extensions/api/record/record_api.h
index a23e01a0ff33166b27b4c2180a397903f48cc128..4e31695a2ba86dafc856761f02275a4082bff7e6 100644
--- a/chrome/browser/extensions/extension_record_api.h
+++ b/chrome/browser/extensions/api/record/record_api.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_RECORD_API_H_
-#define CHROME_BROWSER_EXTENSIONS_EXTENSION_RECORD_API_H_
+#ifndef CHROME_BROWSER_EXTENSIONS_API_RECORD_RECORD_API_H_
+#define CHROME_BROWSER_EXTENSIONS_API_RECORD_RECORD_API_H_
#pragma once
#include "chrome/browser/extensions/extension_function.h"
@@ -19,6 +19,8 @@ const char kStatsKey[] = "stats";
};
+namespace extensions {
+
// ProcessStrategy abstracts the API's starting and waiting on a test
// browser instance. This lets us browser-test the API without actually
// firing up a sub browser instance.
@@ -159,4 +161,6 @@ class ReplayURLsFunction : public RunPageCyclerFunction {
std::string stats_;
};
-#endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_RECORD_API_H_
+} // namespace extensions
+
+#endif // CHROME_BROWSER_EXTENSIONS_API_RECORD_RECORD_API_H_

Powered by Google App Engine
This is Rietveld 408576698