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

Unified Diff: extensions/browser/null_app_sorting.h

Issue 549663002: Move AppWindowGeometryCacheTest to extensions_unittests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: (app-window) rebase 2 Created 6 years, 3 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: extensions/browser/null_app_sorting.h
diff --git a/extensions/shell/browser/shell_app_sorting.h b/extensions/browser/null_app_sorting.h
similarity index 85%
rename from extensions/shell/browser/shell_app_sorting.h
rename to extensions/browser/null_app_sorting.h
index b0dac331dcac4978914054f966a9e500a8ae6c09..f1bb9928a53de27111717c0aac674d3037d67158 100644
--- a/extensions/shell/browser/shell_app_sorting.h
+++ b/extensions/browser/null_app_sorting.h
@@ -2,20 +2,20 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef EXTENSIONS_SHELL_BROWSER_SHELL_APP_SORTING_H_
-#define EXTENSIONS_SHELL_BROWSER_SHELL_APP_SORTING_H_
+#ifndef EXTENSIONS_BROWSER_NULL_APP_SORTING_H_
+#define EXTENSIONS_BROWSER_NULL_APP_SORTING_H_
#include "base/compiler_specific.h"
+#include "base/macros.h"
#include "extensions/browser/app_sorting.h"
namespace extensions {
-// A stub AppSorting. Since app_shell only runs a single app we don't need to
-// sort them.
-class ShellAppSorting : public AppSorting {
+// An AppSorting that doesn't provide any ordering.
+class NullAppSorting : public AppSorting {
public:
- ShellAppSorting();
- virtual ~ShellAppSorting();
+ NullAppSorting();
+ virtual ~NullAppSorting();
// AppSorting overrides:
virtual void SetExtensionScopedPrefs(ExtensionScopedPrefs* prefs) OVERRIDE;
@@ -55,9 +55,9 @@ class ShellAppSorting : public AppSorting {
bool visible) OVERRIDE;
private:
- DISALLOW_COPY_AND_ASSIGN(ShellAppSorting);
+ DISALLOW_COPY_AND_ASSIGN(NullAppSorting);
};
} // namespace extensions
-#endif // EXTENSIONS_SHELL_BROWSER_SHELL_APP_SORTING_H_
+#endif // EXTENSIONS_BROWSER_NULL_APP_SORTING_H_
« no previous file with comments | « extensions/browser/app_window/app_window_geometry_cache_unittest.cc ('k') | extensions/browser/null_app_sorting.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698