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

Unified Diff: runtime/observatory/lib/src/repositories/settings.dart

Issue 2180803002: Converted Observatory vm-connect element (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Renamed DumpRepository to CrashDumpRepository Created 4 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: runtime/observatory/lib/src/repositories/settings.dart
diff --git a/runtime/observatory/lib/src/app/settings.dart b/runtime/observatory/lib/src/repositories/settings.dart
similarity index 82%
copy from runtime/observatory/lib/src/app/settings.dart
copy to runtime/observatory/lib/src/repositories/settings.dart
index 2a7bbb37dd983043cb4f3fb3123a6fa07afec899..771c48eccc8e0459b8c0eb890df30085c5856b72 100644
--- a/runtime/observatory/lib/src/app/settings.dart
+++ b/runtime/observatory/lib/src/repositories/settings.dart
@@ -1,8 +1,8 @@
-// Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
+// Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
+// BSD-style license that can be found in the LICENSE file
-part of app;
+part of repositories;
/// Static settings database.
class _Settings {
@@ -25,11 +25,11 @@ class _Settings {
}
/// A group of settings each prefixed with group name and a dot.
-class SettingsGroup {
+class SettingsRepository {
/// Group name
final String group;
- SettingsGroup(this.group);
+ SettingsRepository(this.group);
String _fullKey(String key) => '$group.$key';
@@ -42,4 +42,4 @@ class SettingsGroup {
var fullKey = _fullKey(key);
return _Settings.get(fullKey);
}
-}
+}
« no previous file with comments | « runtime/observatory/lib/src/models/repositories/target.dart ('k') | runtime/observatory/lib/src/repositories/target.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698