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

Side by Side Diff: chrome/browser/automation/automation_event_observers.cc

Issue 16746002: Use a direct include of strings headers in chrome/auto*/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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 // 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 #include <string> 5 #include <string>
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/stringprintf.h" 8 #include "base/strings/stringprintf.h"
9 #include "chrome/browser/automation/automation_event_observers.h" 9 #include "chrome/browser/automation/automation_event_observers.h"
10 #include "chrome/browser/automation/automation_event_queue.h" 10 #include "chrome/browser/automation/automation_event_queue.h"
11 #include "chrome/browser/automation/automation_provider.h" 11 #include "chrome/browser/automation/automation_provider.h"
12 #include "chrome/browser/automation/automation_provider_json.h" 12 #include "chrome/browser/automation/automation_provider_json.h"
13 #include "content/public/browser/dom_operation_notification_details.h" 13 #include "content/public/browser/dom_operation_notification_details.h"
14 #include "content/public/browser/notification_service.h" 14 #include "content/public/browser/notification_service.h"
15 #include "content/public/browser/notification_types.h" 15 #include "content/public/browser/notification_types.h"
16 16
17 const char* DomEventObserver::kSubstringReplaceWithObserverId = "$(id)"; 17 const char* DomEventObserver::kSubstringReplaceWithObserverId = "$(id)";
18 18
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 event_name_.compare(dom_op_details->json) == 0)) { 96 event_name_.compare(dom_op_details->json) == 0)) {
97 DictionaryValue* dict = new DictionaryValue; 97 DictionaryValue* dict = new DictionaryValue;
98 dict->SetString("type", "raised_event"); 98 dict->SetString("type", "raised_event");
99 dict->SetString("name", dom_op_details->json); 99 dict->SetString("name", dom_op_details->json);
100 NotifyEvent(dict); 100 NotifyEvent(dict);
101 } 101 }
102 } 102 }
103 // Nothing should happen after RemoveIfDone() as it may delete the object. 103 // Nothing should happen after RemoveIfDone() as it may delete the object.
104 RemoveIfDone(); 104 RemoveIfDone();
105 } 105 }
OLDNEW
« no previous file with comments | « chrome/browser/autofill/form_structure_browsertest.cc ('k') | chrome/browser/automation/automation_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698