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

Side by Side Diff: lib/db.dart

Issue 2285803002: Upgrade to use stable `package:googleapis/v1.dart` of datastore (Closed) Base URL: git@github.com:dart-lang/gcloud.git@master
Patch Set: Update upper constraint on http_parser Created 4 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 unified diff | Download patch
« no previous file with comments | « CHANGELOG.md ('k') | lib/src/datastore_impl.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 library gcloud.db; 5 library gcloud.db;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 import 'dart:collection'; 8 import 'dart:collection';
9 import 'dart:mirrors' as mirrors; 9 import 'dart:mirrors' as mirrors;
10 10
11 import 'common.dart' show Page, StreamFromPages; 11 import 'common.dart' show StreamFromPages;
12 import 'service_scope.dart' as ss; 12 import 'service_scope.dart' as ss;
13 import 'datastore.dart' as datastore; 13 import 'datastore.dart' as datastore;
14 14
15 part 'src/db/annotations.dart'; 15 part 'src/db/annotations.dart';
16 part 'src/db/db.dart'; 16 part 'src/db/db.dart';
17 part 'src/db/models.dart'; 17 part 'src/db/models.dart';
18 part 'src/db/model_db.dart'; 18 part 'src/db/model_db.dart';
19 part 'src/db/model_db_impl.dart'; 19 part 'src/db/model_db_impl.dart';
20 20
21 const Symbol _dbKey = #gcloud.db; 21 const Symbol _dbKey = #gcloud.db;
(...skipping 11 matching lines...) Expand all
33 /// 33 ///
34 /// The provided `db` object will be available via the top-level `dbService` 34 /// The provided `db` object will be available via the top-level `dbService`
35 /// getter. 35 /// getter.
36 /// 36 ///
37 /// Calling this function outside of a service scope will result in an error. 37 /// Calling this function outside of a service scope will result in an error.
38 /// Calling this function more than once inside the same service scope is not 38 /// Calling this function more than once inside the same service scope is not
39 /// allowed. 39 /// allowed.
40 void registerDbService(DatastoreDB db) { 40 void registerDbService(DatastoreDB db) {
41 ss.register(_dbKey, db); 41 ss.register(_dbKey, db);
42 } 42 }
OLDNEW
« no previous file with comments | « CHANGELOG.md ('k') | lib/src/datastore_impl.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698