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

Side by Side Diff: services/vanadium/security/principal_service.go

Issue 1388413005: Move //mojo/services/X/public/... to //mojo/services/X/... (part 1). (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 2 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 | « services/python/content_handler/BUILD.gn ('k') | shell/BUILD.gn » ('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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 package main 5 package main
6 6
7 import ( 7 import (
8 "crypto/ecdsa" 8 "crypto/ecdsa"
9 "encoding/base64" 9 "encoding/base64"
10 "encoding/json" 10 "encoding/json"
11 "fmt" 11 "fmt"
12 "log" 12 "log"
13 "net/url" 13 "net/url"
14 "sync" 14 "sync"
15 15
16 "mojo/public/go/application" 16 "mojo/public/go/application"
17 "mojo/public/go/bindings" 17 "mojo/public/go/bindings"
18 "mojo/public/go/system" 18 "mojo/public/go/system"
19 "mojo/public/interfaces/network/url_request" 19 "mojo/public/interfaces/network/url_request"
20 » auth "mojo/services/authentication/public/interfaces/authentication" 20 » auth "mojo/services/authentication/interfaces/authentication"
21 network "mojo/services/network/public/interfaces/network_service" 21 network "mojo/services/network/public/interfaces/network_service"
22 "mojo/services/network/public/interfaces/url_loader" 22 "mojo/services/network/public/interfaces/url_loader"
23 vpkg "mojo/services/vanadium/security/public/interfaces/principal" 23 vpkg "mojo/services/vanadium/security/public/interfaces/principal"
24 ) 24 )
25 25
26 //#include "mojo/public/c/system/types.h" 26 //#include "mojo/public/c/system/types.h"
27 import "C" 27 import "C"
28 28
29 const blesserURL = "https://dev.v.io/auth/google/bless" 29 const blesserURL = "https://dev.v.io/auth/google/bless"
30 30
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 } 216 }
217 217
218 //export MojoMain 218 //export MojoMain
219 func MojoMain(handle C.MojoHandle) C.MojoResult { 219 func MojoMain(handle C.MojoHandle) C.MojoResult {
220 application.Run(&principalServiceDelegate{}, system.MojoHandle(handle)) 220 application.Run(&principalServiceDelegate{}, system.MojoHandle(handle))
221 return C.MOJO_RESULT_OK 221 return C.MOJO_RESULT_OK
222 } 222 }
223 223
224 func main() { 224 func main() {
225 } 225 }
OLDNEW
« no previous file with comments | « services/python/content_handler/BUILD.gn ('k') | shell/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698