anchor.diff:  library timesheets_resource;
   
   import 'dart:async';
  -import 'dart:convert' show JSON, Latin1Decoder;
  +import 'dart:convert' show JSON, Utf8Codec;
  +import 'dart:html' show window;
   
   import 'package:angular/angular.dart';
  -import "package:google_drive_v2_api/drive_v2_api_browser.dart" as driveclient;
  -import "package:google_drive_v2_api/drive_v2_api_client.dart";
  +import "package:google_drive_v2_api/drive_v2_api_browser.dart" as drivelib;
  +import "package:google_drive_v2_api/drive_v2_api_client.dart" as client;
   import 'package:google_oauth2_client/google_oauth2_browser.dart';
   import 'package:lawndart/lawndart.dart';
   
  
positive.code:   Future _loaded;
  
    Store _db;
    
    driveclient.Drive _drive;
    String _data_file_id;
    
    TimesheetResource() {
      
      _db = new Store("chronos", "timesheets");
  
      _loaded = _loadTimesheetsFromDrive();
    }
    
    driveclient.Drive _createAuthorizedDriveClient() {
      driveclient.Drive drive;
      
      GoogleOAuth2 auth =
          new GoogleOAuth2("616311253486.apps.googleusercontent.com",
              ["https://www.googleapis.com/auth/drive.appdata"]);
      drive = new driveclient.Drive(auth);
      drive.makeAuthRequests = true;
      
      return drive;
    }
    
    Future _loadTimesheetsFromDrive() {
      _drive = _createAuthorizedDriveClient();
      
      // Load and parse the chronos files
      return _loadDataFile();
    }
  
  
negative.code:     });
    }
  
    Future<client.FileList> _searchForDataFileCandidates() => _drive.files.list(q: "title = 'data_file.json'");
  
    Future<String> _intializeDataFile() {
      client.File data_file = new client.File.fromJson({ 'title': 'data_file.json', 'mimeType': JSON_MIME_TYPE });
      String timesheet_json = JSON.encode({'timesheets': timesheets });
      print(timesheet_json);
      var base64data = window.btoa(timesheet_json);
      print(base64data);
      return _drive.files.insert(data_file, content: base64data, contentType: JSON_MIME_TYPE).
          then((client.File file) {
            _data_file_id = file.id;
          }).catchError((e) {
            print("Something went wrong! $e");
          });
    }
  
    Future<String> _parseDataFile(String data_file_id) {
      return new Future.value("1");
    }
  
  