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

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

Issue 147353007: DevTools: remove references to modules/webdatabase from core/inspector (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 6 years, 10 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 25 matching lines...) Expand all
36 #include "wtf/RefCounted.h" 36 #include "wtf/RefCounted.h"
37 #include "wtf/RefPtr.h" 37 #include "wtf/RefPtr.h"
38 #include "wtf/text/WTFString.h" 38 #include "wtf/text/WTFString.h"
39 39
40 namespace WebCore { 40 namespace WebCore {
41 class Database; 41 class Database;
42 class InspectorFrontend; 42 class InspectorFrontend;
43 43
44 class InspectorDatabaseResource : public RefCounted<InspectorDatabaseResource> { 44 class InspectorDatabaseResource : public RefCounted<InspectorDatabaseResource> {
45 public: 45 public:
46 static PassRefPtr<InspectorDatabaseResource> create(PassRefPtr<Database> dat abase, const String& domain, const String& name, const String& version); 46 static PassRefPtr<InspectorDatabaseResource> create(PassRefPtr<Database>, co nst String& domain, const String& name, const String& version);
47 47
48 void bind(InspectorFrontend::Database*); 48 void bind(InspectorFrontend::Database*);
49 Database* database() { return m_database.get(); } 49 Database* database() { return m_database.get(); }
50 void setDatabase(PassRefPtr<Database> database) { m_database = database; } 50 void setDatabase(PassRefPtr<Database> database) { m_database = database; }
51 String id() const { return m_id; } 51 String id() const { return m_id; }
52 52
53 private: 53 private:
54 InspectorDatabaseResource(PassRefPtr<Database>, const String& domain, const String& name, const String& version); 54 InspectorDatabaseResource(PassRefPtr<Database>, const String& domain, const String& name, const String& version);
55 55
56 RefPtr<Database> m_database; 56 RefPtr<Database> m_database;
57 String m_id; 57 String m_id;
58 String m_domain; 58 String m_domain;
59 String m_name; 59 String m_name;
60 String m_version; 60 String m_version;
61 }; 61 };
62 62
63 } // namespace WebCore 63 } // namespace WebCore
64 64
65 #endif // InspectorDatabaseResource_h 65 #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