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

Side by Side Diff: Source/modules/webdatabase/InspectorDatabaseResource.h

Issue 403013002: Rename WebCore to blink in Modules (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2007, 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2007, 2008 Apple Inc. All rights reserved.
3 * Copyright (C) 2008 Matt Lilek <webkit@mattlilek.com> 3 * Copyright (C) 2008 Matt Lilek <webkit@mattlilek.com>
4 * Copyright (C) 2009 Google Inc. All rights reserved. 4 * Copyright (C) 2009 Google Inc. All rights reserved.
5 * 5 *
6 * Redistribution and use in source and binary forms, with or without 6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions 7 * modification, are permitted provided that the following conditions
8 * are met: 8 * are met:
9 * 9 *
10 * 1. Redistributions of source code must retain the above copyright 10 * 1. Redistributions of source code must retain the above copyright
(...skipping 19 matching lines...) Expand all
30 30
31 #ifndef InspectorDatabaseResource_h 31 #ifndef InspectorDatabaseResource_h
32 #define InspectorDatabaseResource_h 32 #define InspectorDatabaseResource_h
33 33
34 #include "core/InspectorFrontend.h" 34 #include "core/InspectorFrontend.h"
35 #include "platform/heap/Handle.h" 35 #include "platform/heap/Handle.h"
36 #include "wtf/Forward.h" 36 #include "wtf/Forward.h"
37 #include "wtf/RefCounted.h" 37 #include "wtf/RefCounted.h"
38 #include "wtf/text/WTFString.h" 38 #include "wtf/text/WTFString.h"
39 39
40 namespace WebCore { 40 namespace blink {
41 class Database; 41 class Database;
42 class InspectorFrontend; 42 class InspectorFrontend;
43 43
44 class InspectorDatabaseResource : public RefCountedWillBeGarbageCollectedFinaliz ed<InspectorDatabaseResource> { 44 class InspectorDatabaseResource : public RefCountedWillBeGarbageCollectedFinaliz ed<InspectorDatabaseResource> {
45 public: 45 public:
46 static PassRefPtrWillBeRawPtr<InspectorDatabaseResource> create(PassRefPtrWi llBeRawPtr<Database>, const String& domain, const String& name, const String& ve rsion); 46 static PassRefPtrWillBeRawPtr<InspectorDatabaseResource> create(PassRefPtrWi llBeRawPtr<Database>, const String& domain, const String& name, const String& ve rsion);
47 void trace(Visitor*); 47 void trace(Visitor*);
48 48
49 void bind(InspectorFrontend::Database*); 49 void bind(InspectorFrontend::Database*);
50 Database* database() { return m_database.get(); } 50 Database* database() { return m_database.get(); }
51 void setDatabase(PassRefPtrWillBeRawPtr<Database> database) { m_database = d atabase; } 51 void setDatabase(PassRefPtrWillBeRawPtr<Database> database) { m_database = d atabase; }
52 String id() const { return m_id; } 52 String id() const { return m_id; }
53 53
54 private: 54 private:
55 InspectorDatabaseResource(PassRefPtrWillBeRawPtr<Database>, const String& do main, const String& name, const String& version); 55 InspectorDatabaseResource(PassRefPtrWillBeRawPtr<Database>, const String& do main, const String& name, const String& version);
56 56
57 RefPtrWillBeMember<Database> m_database; 57 RefPtrWillBeMember<Database> m_database;
58 String m_id; 58 String m_id;
59 String m_domain; 59 String m_domain;
60 String m_name; 60 String m_name;
61 String m_version; 61 String m_version;
62 }; 62 };
63 63
64 } // namespace WebCore 64 } // namespace blink
65 65
66 #endif // InspectorDatabaseResource_h 66 #endif // InspectorDatabaseResource_h
OLDNEW
« no previous file with comments | « Source/modules/webdatabase/InspectorDatabaseAgent.cpp ('k') | Source/modules/webdatabase/InspectorDatabaseResource.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698