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

Side by Side Diff: content/browser/dom_storage/session_storage_namespace_impl.h

Issue 633843002: Replacing the OVERRIDE with override and FINAL with final in content/browser/[dom_storage|gamepad|… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #ifndef CONTENT_BROWSER_DOM_STORAGE_SESSION_STORAGE_NAMESPACE_IMPL_H_ 5 #ifndef CONTENT_BROWSER_DOM_STORAGE_SESSION_STORAGE_NAMESPACE_IMPL_H_
6 #define CONTENT_BROWSER_DOM_STORAGE_SESSION_STORAGE_NAMESPACE_IMPL_H_ 6 #define CONTENT_BROWSER_DOM_STORAGE_SESSION_STORAGE_NAMESPACE_IMPL_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "content/common/content_export.h" 10 #include "content/common/content_export.h"
(...skipping 22 matching lines...) Expand all
33 // to it. Allocates a new non-persistent ID. 33 // to it. Allocates a new non-persistent ID.
34 SessionStorageNamespaceImpl(DOMStorageContextWrapper* context, 34 SessionStorageNamespaceImpl(DOMStorageContextWrapper* context,
35 const std::string& persistent_id); 35 const std::string& persistent_id);
36 36
37 // Creates an alias of |master_session_storage_namespace|. This will allocate 37 // Creates an alias of |master_session_storage_namespace|. This will allocate
38 // a new non-persistent ID. 38 // a new non-persistent ID.
39 explicit SessionStorageNamespaceImpl( 39 explicit SessionStorageNamespaceImpl(
40 SessionStorageNamespaceImpl* master_session_storage_namespace); 40 SessionStorageNamespaceImpl* master_session_storage_namespace);
41 41
42 // SessionStorageNamespace implementation. 42 // SessionStorageNamespace implementation.
43 virtual int64 id() const OVERRIDE; 43 virtual int64 id() const override;
44 virtual const std::string& persistent_id() const OVERRIDE; 44 virtual const std::string& persistent_id() const override;
45 virtual void SetShouldPersist(bool should_persist) OVERRIDE; 45 virtual void SetShouldPersist(bool should_persist) override;
46 virtual bool should_persist() const OVERRIDE; 46 virtual bool should_persist() const override;
47 47
48 SessionStorageNamespaceImpl* Clone(); 48 SessionStorageNamespaceImpl* Clone();
49 bool IsFromContext(DOMStorageContextWrapper* context); 49 bool IsFromContext(DOMStorageContextWrapper* context);
50 50
51 virtual void AddTransactionLogProcessId(int process_id) OVERRIDE; 51 virtual void AddTransactionLogProcessId(int process_id) override;
52 virtual void RemoveTransactionLogProcessId(int process_id) OVERRIDE; 52 virtual void RemoveTransactionLogProcessId(int process_id) override;
53 virtual void Merge(bool actually_merge, 53 virtual void Merge(bool actually_merge,
54 int process_id, 54 int process_id,
55 SessionStorageNamespace* other, 55 SessionStorageNamespace* other,
56 const MergeResultCallback& callback) OVERRIDE; 56 const MergeResultCallback& callback) override;
57 virtual bool IsAliasOf(SessionStorageNamespace* other) OVERRIDE; 57 virtual bool IsAliasOf(SessionStorageNamespace* other) override;
58 virtual SessionStorageNamespace* CreateAlias() OVERRIDE; 58 virtual SessionStorageNamespace* CreateAlias() override;
59 59
60 private: 60 private:
61 explicit SessionStorageNamespaceImpl(DOMStorageSession* clone); 61 explicit SessionStorageNamespaceImpl(DOMStorageSession* clone);
62 virtual ~SessionStorageNamespaceImpl(); 62 virtual ~SessionStorageNamespaceImpl();
63 63
64 scoped_refptr<DOMStorageSession> session_; 64 scoped_refptr<DOMStorageSession> session_;
65 65
66 DISALLOW_COPY_AND_ASSIGN(SessionStorageNamespaceImpl); 66 DISALLOW_COPY_AND_ASSIGN(SessionStorageNamespaceImpl);
67 }; 67 };
68 68
69 } // namespace content 69 } // namespace content
70 70
71 #endif // CONTENT_BROWSER_DOM_STORAGE_SESSION_STORAGE_NAMESPACE_IMPL_H_ 71 #endif // CONTENT_BROWSER_DOM_STORAGE_SESSION_STORAGE_NAMESPACE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698