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

Side by Side Diff: chrome/browser/extensions/api/automation_internal/automation_event_router.h

Issue 1731483003: chrome: Add out-of-line copy ctors for complex classes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
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 #ifndef CHROME_BROWSER_EXTENSIONS_API_AUTOMATION_INTERNAL_AUTOMATION_EVENT_ROUTE R_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_AUTOMATION_INTERNAL_AUTOMATION_EVENT_ROUTE R_H_
6 #define CHROME_BROWSER_EXTENSIONS_API_AUTOMATION_INTERNAL_AUTOMATION_EVENT_ROUTE R_H_ 6 #define CHROME_BROWSER_EXTENSIONS_API_AUTOMATION_INTERNAL_AUTOMATION_EVENT_ROUTE R_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 52
53 // Notify all automation extensions that an accessibility tree was 53 // Notify all automation extensions that an accessibility tree was
54 // destroyed. If |browser_context| is null, 54 // destroyed. If |browser_context| is null,
55 void DispatchTreeDestroyedEvent( 55 void DispatchTreeDestroyedEvent(
56 int tree_id, 56 int tree_id,
57 content::BrowserContext* browser_context); 57 content::BrowserContext* browser_context);
58 58
59 private: 59 private:
60 struct AutomationListener { 60 struct AutomationListener {
61 AutomationListener(); 61 AutomationListener();
62 AutomationListener(const AutomationListener& other);
62 ~AutomationListener(); 63 ~AutomationListener();
63 64
64 ExtensionId extension_id; 65 ExtensionId extension_id;
65 int routing_id; 66 int routing_id;
66 int process_id; 67 int process_id;
67 bool desktop; 68 bool desktop;
68 std::set<int> tree_ids; 69 std::set<int> tree_ids;
69 bool is_active_profile; 70 bool is_active_profile;
70 }; 71 };
71 72
(...skipping 30 matching lines...) Expand all
102 Profile* active_profile_; 103 Profile* active_profile_;
103 104
104 friend struct base::DefaultSingletonTraits<AutomationEventRouter>; 105 friend struct base::DefaultSingletonTraits<AutomationEventRouter>;
105 106
106 DISALLOW_COPY_AND_ASSIGN(AutomationEventRouter); 107 DISALLOW_COPY_AND_ASSIGN(AutomationEventRouter);
107 }; 108 };
108 109
109 } // namespace extensions 110 } // namespace extensions
110 111
111 #endif // CHROME_BROWSER_EXTENSIONS_API_AUTOMATION_INTERNAL_AUTOMATION_EVENT_RO UTER_H_ 112 #endif // CHROME_BROWSER_EXTENSIONS_API_AUTOMATION_INTERNAL_AUTOMATION_EVENT_RO UTER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698